Manuel_Casoluengo@cotyinc.com
2003-Mar-24 20:10 UTC
[Samba] I see my samba server but.............
Here I go guys! I've already changed the configuration of my sbm.conf, also I made my samba server to be configured as a windows domain, yes! it is found in my windows domain now but as doing double click on this machine (samba) it asks me for a user and passsword, it does not let me get into it, I have created the same samba users as windows, but without any results. I appreciate your help : (See attached file: samba1.jpg) And my samba config files is: |-------------------------------------------------------------------------------| | | | # Samba config file created using SWAT | | # from 0.0.0.0 (0.0.0.0) | | # Date: 2003/03/24 13:54:09 | | | | # Global parameters | | [global] | | workgroup = COTY | | netbios name = MXLINUX | | netbios aliases = cotylinux | | server string = Samba Server %v | | interfaces = 10.19.2.10/255.255.255.255 | | encrypt passwords = Yes | | update encrypted = Yes | | username map = /etc/samba/user.map | | log file = /var/log/samba/log.%m | | max log size = 50 | | socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 | | printcap name = lpstat | | logon script = logon.cmd | | domain logons = Yes | | os level = 64 | | domain master = True | | dns proxy = No | | wins server = 10.19.0.23 | | default service = homes | | remote announce = 10.19.1.90/coty | | comment = Pruebas | | path = /home/test | | username = administrator,administrator$,lap_admin | | guest account = administrator | | valid users = administrator,administrator$,lap_admin,@administrator,| | @lap_admin,@machines | | admin users = administrator | | force user = administrator | | force group = unix01 | | read only = No | | create mask = 0777 | | force create mode = 0777 | | directory mask = 0777 | | force directory mode = 0777 | | guest ok = Yes | | only user = Yes | | printing = cups | | printer name = contra | | delete readonly = Yes | | | | [homes] | | comment = Home Directories | | path = /home/dir | | only user = No | | | | [printers] | | comment = All Printers | | path = /var/spool/samba | | read only = Yes | | create mask = 0700 | | 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 | | read only = Yes | | | | [pdf-generator] | | comment = PDF Generator (only valid users) | | path = /var/tmp | | guest ok = No | | printable = Yes | | print command = /usr/share/samba/scripts/print-pdf %s ~%u | | \\\\\\\\%L\\\\%u %m %I & | | | | [netlogon] | | | | | |-------------------------------------------------------------------------------| Muchas Gracias Manuel Casoluengo Villanueva Network Administrator Mexico Coty Inc. Office: +011525-54494260 fax: +011525-54494249 Email: manuel_casoluengo@cotyinc.com This message is intended for the use of the addressee and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in this message is strictly unauthorized and prohibited. If you have received this message in error, please notify the sender by reply e-mail and delete the message from your system. Opinions, conclusions, or other statements in this message which do not relate to the business of Coty Inc., its subsidiaries or affiliates, are neither given nor endorsed by Coty Inc.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> Date: Mon, 24 Mar 2003 14:10:54 -0600 > From: Manuel_Casoluengo@cotyinc.com > To: SAMBA@LISTS.SAMBA.ORG > Subject: [Samba] I see my samba server but............. > Message-ID: <OFC1B406CB.2219F592-ON06256CF3.006E19F3@cotyinc.com> > Content-Type: multipart/mixed; > Boundary="0__=85256CF3006D91FF8f9e8a93df938690918c85256CF3006D91FF" > MIME-Version: 1.0 > Precedence: list > Message: 1 > > --0__=85256CF3006D91FF8f9e8a93df938690918c85256CF3006D91FF > Content-type: text/plain; charset=us-ascii > > Here I go guys! > > I've already changed the configuration of my sbm.conf, also I made mysamba> server to be configured as a windows domain, yes! it is found in mywindows> domain now but as doing double click on this machine (samba) it asksme for> a user and passsword, it does not let me get into it, I have created the > same samba users as windows, but without any results. > I appreciate your help : > > (See attached file: samba1.jpg) > > And my samba config files is: >Looks like it was a Mandrake 9.0 default config file until you crucified it with SWAT ;-). The best option for you may be winbind. If you have not got too much time invested in this machine, you may consider doing an installation in expert mode, where you can choose to have authentication via a Windows Domain (which sets up winbind). If not, you need to do this manually. 1)Install samba-winbind, either with software manager, or: # urpmi samba-winbind 2)Get a decent config file (backing up your current one) # cp /etc/samba/smb.conf /etc/samba/smb.conf.backup # cp /etc/samba/smb-winbind.conf /etc/samba/smb.conf 3)Edit the file with the text editor of your choice, spend 5 minutes reading it first, then change your workgroup name back as it was. 4)Join the domain # smbpasswd -j <DOMAIN> -U <user with rights to join the machine to the domain> 5)Start winbind # service winbind start 6)Test # wbinfo -u should list users # getent passwd should list users in the same format as the passwd file 7)Setup authentication via winbind (making a backup): # cp /etc/pam.d/system-auth /etc/pam.d/system-auth.backup # cp /etc/pam.d/system-auth-winbind /etc/pam.d/system-auth (everything up to here gets done for you if you choose Windows Domain for authentication during installation) 8)Login to X/KDE/GNOME/Mail server/console with your domain account There are some caveats, see http://ranger.dnsalias.com/mandrake/samba/Integrating%20Linux%20into%20Windows%20Networks.pdf for more details in winbind setup in Mandrake. - -- |--------------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+gu7PrJK6UGDSBKcRAm4AAJ9XHU1bu+zaPbGW+2Y7hV5twozOvgCffYaN jvBO7j6tFeDIwRUu1r9yXZc=z0p0 -----END PGP SIGNATURE-----