I have my Linux box setup net_masq (internet connection sharing) for a windows XP PC. I am using Mandrake 9.0. I installed all the necessary RPMs for SAMBA and ran the wizard in SWAT for the default setup. I then made a user 'tufkal' using smbclient i am able to log in to my home dir share. But I cant get anything at all on the windows box. net use z: \\hostnameofmyserver\tufkal gets a prompt, but no suitable username/pass is accepted browsing workgroup computers shows the samba server but nothing inside it but errors Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7] Sharename Type Comment ---------------------------------------- homes Disk Home Directories print$ Disk pdf-generator Printer PDF Generator (only valid users) IPC$ IPC IPC Service (Samba Server 2.2.7) ADMIN$ Disk IPC Service (Samba Server 2.2.7) Server Comment --------- ------- TUFKAL Samba Server 2.2.7 Workgroup Master --------- ------- WORKGROUP # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2003/01/06 16:24:07 # Global parameters [global] server string = Samba Server %v encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = lpstat dns proxy = No printing = cups [homes] comment = Home Directories read only = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. browseable = No [print$] path = /var/lib/samba/printers write list = @adm root [pdf-generator] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I & Any ideas?
First thing I notice is that your net use command doesn't point to any of the shares you have configured, but this shouldn't give you password problems, just an error. What happens if you run "net view \\yourservername" ?> -----Original Message----- > From: tufkal [mailto:tufkal@softhome.net] > Sent: Monday, January 06, 2003 6:02 PM > To: samba@lists.samba.org > Subject: [Samba] Initial configuration help > > > I have my Linux box setup net_masq (internet connection sharing) for a > windows XP PC. I am using Mandrake 9.0. > > I installed all the necessary RPMs for SAMBA and ran the > wizard in SWAT > for the default setup. > > I then made a user 'tufkal' > > using smbclient i am able to log in to my home dir share. > > But I cant get anything at all on the windows box. > > net use z: \\hostnameofmyserver\tufkal > > gets a prompt, but no suitable username/pass is accepted > > browsing workgroup computers shows the samba server but nothing inside > it but errors > > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7] > > Sharename Type Comment > ---------------------------------------- > homes Disk Home Directories > print$ Disk > pdf-generator Printer PDF Generator (only valid users) > IPC$ IPC IPC Service (Samba Server 2.2.7) > ADMIN$ Disk IPC Service (Samba Server 2.2.7) > > Server Comment > --------- ------- > TUFKAL Samba Server 2.2.7 > > Workgroup Master > --------- ------- > WORKGROUP > > > > > # Samba config file created using SWAT > # from localhost.localdomain (127.0.0.1) > # Date: 2003/01/06 16:24:07 > > # Global parameters > [global] > server string = Samba Server %v > encrypt passwords = Yes > log file = /var/log/samba/log.%m > max log size = 50 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = lpstat > dns proxy = No > printing = cups > > [homes] > comment = Home Directories > read only = No > > [printers] > comment = All Printers > path = /var/spool/samba > create mask = 0700 > guest ok = Yes > printable = Yes > print command = lpr-cups -P %p -o raw %s -r # using > client side > printer drivers. > browseable = No > > [print$] > path = /var/lib/samba/printers > write list = @adm root > > [pdf-generator] > comment = PDF Generator (only valid users) > path = /var/tmp > printable = Yes > print command = /usr/share/samba/scripts/print-pdf %s ~%u > \\\\\\\\%L\\\\%u %m %I & > > > Any ideas? > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> Message: 21 > From: tufkal <tufkal@softhome.net> > To: samba@lists.samba.org > Date: 06 Jan 2003 17:02:08 -0600 > Subject: [Samba] Initial configuration help > > I have my Linux box setup net_masq (internet connection sharing) for a > windows XP PC. I am using Mandrake 9.0. > > I installed all the necessary RPMs for SAMBA and ran the wizard in SWAT > for the default setup.Doesn't really achieve much but removing all the comments that were in the original file ...> > I then made a user 'tufkal'Did you assign an smbpasswd (via smbpasswd -a <username> or in swat)? If this ins't it, you may want to up logging (log level = 3 should be enough) and take a look at the logs ...> > using smbclient i am able to log in to my home dir share.If you didn't, this should not have worked .. since you are using encrypted passwords ...> > But I cant get anything at all on the windows box. > > net use z: \\hostnameofmyserver\tufkal > > gets a prompt, but no suitable username/pass is acceptedDo the usernames/passwords match (the smbpasswd password). - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+GtHCrJK6UGDSBKcRAtaUAKCEKS30AtbI1j9NkJxiH0KxdfbXgwCgubdZ /dvvp8xaWxnraHv1+5c9EPY=piGC -----END PGP SIGNATURE-----