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

2003-03-27 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Date: Mon, 24 Mar 2003 14:10:54 -0600
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [Samba] I see my samba server but.
 Message-ID: [EMAIL PROTECTED]
 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 MilneMechanical 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-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE:Subject: [Samba] I see my samba server but.............

2003-03-27 Thread Kevin Smith
Well first problem I see is you editied your sbm.conf...Should be smb.conf
;-)
Can you access it as root? Id start by making sure the permissions are
correct. And that the Sharename in smb.conf matches the folder name on the
server and that the path is correct.   


--

Date: Mon, 24 Mar 2003 14:10:54 -0600
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Samba] I see my samba server but.
Message-ID: [EMAIL PROTECTED]
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:


|---
|
|
|
| # Samba config file created using SWAT
|
SNIP

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-03-27 Thread Manuel_Casoluengo
Muchas Gracias Buchan Milne fro you help I´ll do that
Thank You!


Manuel Casoluengo Villanueva
Network Administrator Mexico
Coty Inc.






--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-03-26 Thread Manuel_Casoluengo
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 =