Domain Password

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
PJC

Domain Password

Post by PJC »

Hello,

I'm new to Mint but had the same problem while using Ubunbu on a different machine.

I have a home workgroup with a few linux machine (3 or 4), some XP (3) and 1 vista.

I can mount shared folder on mint but I cannot browse the workgroup.

I keep getting a demand for a password prior to allowing me to browse. No password seems to work.

i have even turned off all the machines except this one and still cannot browse.

I have tried a number of thing but cannot get to browsing. This does not happen on the windows machines but happens on the linux.

One funny thing the demand for a password uses the word "domain" not workgroup.

Thank you

Paul
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
abercrombieande

Re: Domain Password

Post by abercrombieande »

Make sure you put the domain name in front of the username Example pby\abercrombieande. If you use tsclient which is basically the remote desktop for linux can you connect to a remote server?
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Domain Password

Post by altair4 »

Somewhat confused by your description.
I can mount shared folder on mint but I cannot browse the workgroup.
You can mount the Mint share from the same Mint box?
How are you mounting it if you are not browsing?
I keep getting a demand for a password prior to allowing me to browse. No password seems to work.
You are getting a password prompt at the "Windows Network" level, the machine level, or the share level?
i have even turned off all the machines except this one and still cannot browse.
You can't browse to your own share? It asks for a password or there is nothing there?

One thing you could do is post the output of the following command from your Mint machine so we can see the error messages:

Code: Select all

smbtree
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
PJC

Re: Domain Password

Post by PJC »

Hello and thank you for your replies.

Sorry if I confuse you.

Mounting.

I have mounted shares via FSTAB and that worked on both Ubuntu and Mint. The shares are from a Lacie Network storage device. These mounts do not require a password.

Process

When I double click on "network" then "windows network" then "workgroup" I then get the demand for the domain password.

I have set up samba users and that does not work. I have tried to use windows log ins and that does not work.
Effectively my issue is around accessing the workgroup computers.

Thank you again

Paul
PJC

Re: Domain Password

Post by PJC »

To abercrombieande,

I have tried your suggestion without success.

I do not know what tsclient is but , as stated I can connect to remote servers via FSTAB.

Thank you for your reply

Paul
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Domain Password

Post by altair4 »

Please post the output of the following command:

Code: Select all

smbtree
And please post the line in fstab that you are using to access the remote share.

Question: If you are automounting the share in fstab why are you trying to mount it again thorough Nautilus?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
PJC

Re: Domain Password

Post by PJC »

Thank you for your reply

here is the corresponding lines

//192.168.0.102/openshare /home/paul/server cifs defaults,workgroup=workgroup,user,uid=1000,auto,rw,password="" 0 0
//192.168.0.102/openshare/moneydance /home/paul/moneydance cifs defaults,workgroup=workgroup,user,uid=1000,auto,rw,password="" 0 0
//192.168.0.102/openshare/genealogy /home/paul/genealogy cifs defaults,workgroup=workgroup,user,auto,rw,uid=1000,password="" 0 0

I mount the network access shares on boot up and use them 90% of the time but often want to something off another PC but cannot browse the workgroup.

Regards

Paul
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Domain Password

Post by altair4 »

I'm going to give this one more shot only this time I'm going to make it harder:

[1] Please post the output of the following command:

Code: Select all

smbtree
[2] Please post the output of the following command

Code: Select all

testparm -s
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
PJC

Re: Domain Password

Post by PJC »

Hello

paul@paul-Mint ~ $ smbtree
Enter paul's password:
WORKGROUP
\\SAMBA24 Samba file and print server
\\SAMBA24\Brother-HL-2140 Brother HL-2140
\\SAMBA24\Photosmart_C7200 Photosmart_C7200
\\SAMBA24\Print_to_PDF Print to a PDF File
\\SAMBA24\tp0 HP_PhotoSmart71xx
\\SAMBA24\homes Home Directories
\\SAMBA24\netlogon Network Logon Service
\\SAMBA24\pdf-documents Converted PDF Documents
\\SAMBA24\pdf-printer PDF Printer Service
\\SAMBA24\IPC$ IPC Service (Samba file and print server)
\\ROWAN-LAPTOP
\\ROWAN-LAPTOP\Public
\\ROWAN-LAPTOP\print$ Printer Drivers
\\ROWAN-LAPTOP\IPC$ Remote IPC
\\ROWAN-LAPTOP\D$ Default share
\\ROWAN-LAPTOP\C$ Default share
\\ROWAN-LAPTOP\C
\\ROWAN-LAPTOP\Apollo P-1200 Apollo P-1200
\\ROWAN-LAPTOP\ADMIN$ Remote Admin
\\NETWORKSPACE2 NetworkSpace2
\\NETWORKSPACE2\MyShare
\\NETWORKSPACE2\OpenShare
\\NETWORKSPACE2\IPC$ IPC Service (NetworkSpace2)
\\JIM-AND-EMMA Jim and Emma's PC
\\JIM-AND-EMMA\Printer Microsoft XPS Document Writer
\\JIM-AND-EMMA\C$ Default share
\\JIM-AND-EMMA\ADMIN$ Remote Admin
\\JIM-AND-EMMA\Printer2 HP Photosmart C4100 series
\\JIM-AND-EMMA\Printer3 CSD Writer for iriver
\\JIM-AND-EMMA\SharedDocs
\\JIM-AND-EMMA\print$ Printer Drivers
\\JIM-AND-EMMA\IPC$ Remote IPC
\\ANDREW-PC


and


testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[printers]"
Processing section "[pdf-documents]"
Processing section "[pdf-printer]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
[global]
netbios name = SAMBA24
server string = Samba file and print server
interfaces = 127.0.0.1/8, 192.168.0.0/24
bind interfaces only = Yes
update encrypted = Yes
client schannel = No
server schannel = No
allow trusted domains = No
obey pam restrictions = Yes
guest account = smbguest
passwd program = /usr/bin/passwd '%u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
passwd chat timeout = 120
username map = /etc/samba/smbusers
password level = 6
username level = 6
unix password sync = Yes
log file = /var/log/samba/samba.log
max log size = 1000
name resolve order = wins lmhosts bcast
client signing = No
client use spnego = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
machine password timeout = 120
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
delete user from group script = /usr/sbin/userdel '%u' '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
logon script = %G.bat
logon path = \\%L\profiles\%u
logon drive = m:
logon home = \\%L\homes\%u
os level = 33
local master = No
domain master = No
dns proxy = No
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /dev/null
winbind separator = @
winbind cache time = 360
winbind use default domain = Yes
winbind trusted domains only = Yes
winbind nested groups = No
winbind nss info = no
guest ok = Yes
hosts allow = 127., 192.168.0.
cups options = raw
follow symlinks = No

[homes]
comment = Home Directories
path = /home
read only = No
locking = No
strict locking = No

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = No
locking = No
strict locking = No

[profiles]
comment = User Profiles
path = /var/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
locking = No
strict locking = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
locking = No
strict locking = No

[pdf-documents]
comment = Converted PDF Documents
path = /home/pdf-documents
read only = No
locking = No
strict locking = No

[pdf-printer]
comment = PDF Printer Service
path = /tmp
printable = Yes
printing = bsd
print command = /usr/bin/gadmin-samba-pdf %s %u
lpq command =
use client driver = Yes


How does that look?

Paul
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Domain Password

Post by altair4 »

Parts of your smb.conf ( netlogon ) look like you've set yourself up as a Primary Domain Controller and parts of it ( winbind ) looks like you are part of a Windows Active Directory. I truly believe it really is asking for a domain password after all.

Since it's not listed explicitly you are also using "security = user" so the whole thing seems inconsistent. Your only share is [homes] but it has a path of /home which is owned by root. You have "guest ok = yes" in the global section and you have even defined your own guest account ( "guest account = smbguest" ) instead of using the default but you have no way of converting the unauthenticated remote user to a guest because you have the following parameter missing: "map to guest = Bad User". Maybe that's consistant with a Primary Domain Controller - I'm not sure.

I'm trying to apply what I know about a peer-to-peer network to your smb.conf and I can't. You really need to post this in the Server section of the forum. Unfortunately we don't have one so I'd suggest posting this in the Server section of the Ubuntu forum - just don't tell them you're using Mint.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
abercrombieande

Re: Domain Password

Post by abercrombieande »

I am not sure if this will help you because I never setup a workgroup.

When I use linux to connect to a remote printer I use: smb://csa/ed-it-11/ed-print-11
csa = windows domain
ed-it-11 = server
ed-print-11 = printer name

When I use verify I get you must log in to access ....
username = windows usernamne
domain = windows domain (csa in this example)
password = windows password

I mentioned tsclient because it is the equivalent to remote desktop on windows. You can install it using linux software manager and see if you can connect to the vista pc. Might be a starting point.
PJC

Re: Domain Password

Post by PJC »

Hello,

The funny thing is that other to add my proven lines to FSTAB the install is as was installed by Mint.

I will investigate further but at the moment cannot figure this out.

Regards

Paul
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Domain Password

Post by altair4 »

PJC wrote:The funny thing is that other to add my proven lines to FSTAB the install is as was installed by Mint.
If by that you mean the smb.conf file I'm fairly certain that cannot be. If you want to see what the default smb.conf looks like you can find a copy of it here:

Code: Select all

/usr/share/samba/smb.conf
It does have one mistake in it - "encrypt passwords" is set to No when it should be set to Yes.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
PJC

Re: Domain Password

Post by PJC »

Hello,

So if I take the default from that folder and replace my current operational file (and change the encrypt password line) I should remove my browse problem?

I'm happy to try that

Paul
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Domain Password

Post by altair4 »

Your "current operation file" is in fact not operational because you cannot browse the network.

The big question is did you set up that smb.conf because you wanted it to be part of domain and it's not working as planned? If that's the case I for one can't help you because I have no experience at that level.

If instead this is just a simple home network then the default smb.conf that Mint ships with is better suited to your needs.

Will it solve your browsing problems. I have no idea. Most browsing problems are not Samba issues they are networking issues. Samba can sometimes be used to work around these problems but the real issue is the network.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
PJC

Re: Domain Password

Post by PJC »

Hello,

No As far as I can remember all I did a clean install on a machine that had Ubuntu and XP. I then add the line to mount the network shares.

All I want is a simple home network. I had this problem before I replaced the Ubuntu and it was there after. I shall replace the current file with the standard one and see how it goes.

Where in the system would there be a default file?


Thank you

Paul
.
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Domain Password

Post by altair4 »

Where in the system would there be a default file?
altair4 wrote:If you want to see what the default smb.conf looks like you can find a copy of it here:

Code: Select all

/usr/share/samba/smb.conf
It does have one mistake in it - "encrypt passwords" is set to No when it should be set to Yes.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
PJC

Re: Domain Password

Post by PJC »

Hello,

finally got around to it and it did not work.

Oh well the rest works fine


Paul
PJC

Re: Domain Password

Post by PJC »

Hello,

Well isn't that funny. We are having a summer storm and the power went for a couple of seconds and when the computer returned I could browse.

Thank all for your help


Paul
PJC

Solved: Re: Domain Password

Post by PJC »

Is this the way you mark them solved?
Locked

Return to “Networking”