[Samba] I see my samba server but.............

Buchan Milne bgmilne at cae.co.za
Thu Mar 27 12:30:08 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Date: Mon, 24 Mar 2003 14:10:54 -0600
> From: Manuel_Casoluengo at cotyinc.com
> To: SAMBA at LISTS.SAMBA.ORG
> Subject: [Samba] I see my samba server but.............
> Message-ID: <OFC1B406CB.2219F592-ON06256CF3.006E19F3 at 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 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:
>

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-----



More information about the samba mailing list