[Samba] profil
Johnny R
vasiana09 at gmail.com
Wed Apr 7 12:13:26 MDT 2010
Greetings list,
I am about setting up a domain controller in a little company, so I choose
samba (debian lenny) and I did it against openldap. Everything seems to be
ok in the server but when I try to log in (windows client) I have a bizarre
output: it said that my profile will not be saved. And after that when I try
to connect to virtual machine running in the same computer, it doesn't work:
just for the first one.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
serverd:~# smbstatus
Unknown parameter encountered: "domain admin group"
Ignoring unknown parameter "domain admin group"
Unknown parameter encountered: "domain admin group"
Ignoring unknown parameter "domain admin group"
Samba version 3.2.5
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
Here is the log.smbd :
serverd:~# more /var/log/samba/log.smbd
[2010/04/06 12:28:54, 1] param/loadparm.c:map_parameter(6115)
Unknown parameter encountered: "domain admin group"
[2010/04/06 12:28:54, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 11:31:27, 0] smbd/server.c:main(1213)
smbd version 3.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2010/04/07 11:31:27, 1] param/loadparm.c:map_parameter(6115)
Unknown parameter encountered: "domain admin group"
[2010/04/07 11:31:27, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 11:31:27, 1] param/loadparm.c:map_parameter(6115)
Unknown parameter encountered: "domain admin group"
[2010/04/07 11:31:27, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 13:48:42, 0] lib/util_sock.c:get_peer_addr_internal(1676)
getpeername failed. Error was Transport endpoint is not connected
[2010/04/07 13:48:42, 0] lib/util_sock.c:write_data(1136)
[2010/04/07 13:48:42, 0] lib/util_sock.c:get_peer_addr_internal(1676)
getpeername failed. Error was Transport endpoint is not connected
write_data: write failure in writing to client 0.0.0.0. Error Connection
reset by peer
[2010/04/07 13:48:42, 0] smbd/process.c:srv_send_smb(74)
Error writing 4 bytes to client. -1. (Transport endpoint is not connected)
[2010/04/07 13:52:23, 0] lib/util_sock.c:read_socket_with_timeout(939)
[2010/04/07 13:52:23, 0] lib/util_sock.c:get_peer_addr_internal(1676)
getpeername failed. Error was Transport endpoint is not connected
read_socket_with_timeout: client 0.0.0.0 read error = Connection reset by
peer.
[2010/04/07 13:52:23, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.201) connect to service netlogon initially as
user fleur (ui
d=1013, gid=513) (pid 3262)
[2010/04/07 13:52:35, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.201) closed connection to service netlogon
[2010/04/07 13:54:43, 0] lib/util_sock.c:read_socket_with_timeout(939)
[2010/04/07 13:54:43, 0] lib/util_sock.c:get_peer_addr_internal(1676)
getpeername failed. Error was Transport endpoint is not connected
read_socket_with_timeout: client 0.0.0.0 read error = Connection reset by
peer.
[2010/04/07 13:57:48, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.201) connect to service netlogon initially as
user karimzik
(uid=1006, gid=513) (pid 3272)
[2010/04/07 13:57:59, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.201) closed connection to service netlogon
[2010/04/07 14:02:21, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.201) connect to service netlogon initially as
user root (uid=0, gid=0) (pid 3287)
[2010/04/07 14:02:24, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.201) closed connection to service netlogon
[2010/04/07 14:05:15, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.201) connect to service netlogon initially as
user kkigor14 (uid=1001, gid=513) (pid 3296)
[2010/04/07 14:05:27, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.201) closed connection to service netlogon
[2010/04/07 14:06:32, 1] param/loadparm.c:map_parameter(6115)
Unknown parameter encountered: "domain admin group"
[2010/04/07 14:06:32, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 14:07:06, 1] param/loadparm.c:map_parameter(6115)
Unknown parameter encountered: "domain admin group"
[2010/04/07 14:07:06, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 14:07:06, 1] param/loadparm.c:map_parameter(6115)
Unknown parameter encountered: "domain admin group"
[2010/04/07 14:07:06, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 14:07:36, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.201) connect to service netlogon initially as
user Ismail (uid=1005, gid=513) (pid 3303)
[2010/04/07 14:07:39, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.201) closed connection to service netlogon
[2010/04/07 14:07:45, 1] param/loadparm.c:map_parameter(6115)
Unknown parameter encountered: "domain admin group"
[2010/04/07 14:07:45, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 14:07:46, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.201) connect to service netlogon initially as
user Ismail (uid=1005, gid=513) (pid 3307)
[2010/04/07 14:07:54, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.201) closed connection to service netlogon
[2010/04/07 14:11:51, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.201) connect to service netlogon initially as
user root (uid=0, gid=0) (pid 3326)
[2010/04/07 14:12:03, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.201) closed connection to service netlogon
[2010/04/07 14:12:50, 1] smbd/service.c:make_connection_snum(1198)
novell (::ffff:192.168.2.202) connect to service root initially as user
root (uid=0, gid=0) (pid 3330)
[2010/04/07 14:15:21, 1] smbd/service.c:close_cnum(1409)
novell (::ffff:192.168.2.202) closed connection to service root
[2010/04/07 14:22:14, 0] lib/util_sock.c:write_data(1136)
Unknown parameter encountered: "domain admin group"
[2010/04/07 16:05:37, 0] param/loadparm.c:lp_do_parameter(7201)
Ignoring unknown parameter "domain admin group"
[2010/04/07 16:05:47, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.223) connect to service netlogon initially as
user jose (uid=1014, gid=513) (pid 3964)
[2010/04/07 16:05:48, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service netlogon
[2010/04/07 16:05:57, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.223) connect to service netlogon initially as
user jose (uid=1014, gid=513) (pid 3965)
[2010/04/07 16:06:06, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service netlogon
[2010/04/07 16:07:04, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.223) connect to service jose initially as user
jose (uid=1014, gid=513) (pid 3969)
[2010/04/07 16:07:07, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service jose
[2010/04/07 16:09:23, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.223) connect to service jose initially as user
jose (uid=1014, gid=513) (pid 3986)
[2010/04/07 16:09:32, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service jose
[2010/04/07 16:09:43, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.223) connect to service partage initially as
user jose (uid=1014, gid=513) (pid 3994)
[2010/04/07 16:09:59, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service partage
[2010/04/07 16:10:21, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.223) connect to service jose initially as user
jose (uid=1014, gid=513) (pid 4001)
[2010/04/07 16:10:24, 1] smbd/service.c:make_connection_snum(1198)
bulldog (::ffff:192.168.2.223) connect to service partage initially as
user jose (uid=1014, gid=513) (pid 4001)
[2010/04/07 16:10:25, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service jose
[2010/04/07 16:10:25, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service partage
Error: modifications require authentication at /usr/share/perl5/
smbldap_tools.pm line 1083.
[2010/04/07 16:19:08, 0]
passdb/pdb_interface.c:pdb_default_create_user(336)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"meta$"' gave 1
[2010/04/07 16:21:33, 0]
passdb/pdb_interface.c:pdb_default_create_user(336)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"fleur$"' gave 9
[2010/04/07 16:21:50, 0]
passdb/pdb_interface.c:pdb_default_create_user(336)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"fleur$"' gave 9
[2010/04/07 16:23:22, 0]
passdb/pdb_interface.c:pdb_default_create_user(336)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"fleur$"' gave 9
[2010/04/07 16:24:49, 1] smbd/service.c:make_connection_snum(1198)
meta (::ffff:192.168.2.14) connect to service netlogon initially as user
test (uid=1015, gid=513) (pid 4333)
[2010/04/07 16:25:01, 1] smbd/service.c:close_cnum(1409)
I remove this line domain admin *group = root from smb.conf* but the problem
still exist. Here is my configuration files:
*/etc/samba/smb.conf*
[global]
dos charset = 850
unix charset = iso-8859-15
display charset = iso-8859-15
workgroup = CSIMAROC
netbios name = serverd
server string = This is it
name resolve order = wins host lmhosts bcast
time server = Yes
#domain admin group = root
encrypt passwords = yes
passdb backend = ldapsam:ldap://127.0.0.1/
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/smbldap-useradd -m "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
logon script = %g.bat
logon path = /Profiles\%u
#logon path = \\%L\Profiles\%u
#logon home = \\%L\%u\
logon home = /home\%u
logon drive = I:
domain logons = Yes
local master = yes
security = user
os level = 40
domain master = Yes
dns proxy = No
wins support = No
ldap passwd sync = yes
ldap admin dn = cn=admin,dc=csimaroc,dc=lan
ldap suffix = dc=csimaroc,dc=lan
ldap group suffix = ou=Groups
ldap machine suffix = ou=Machines
ldap user suffix = ou=Users
ldap delete dn = Yes
winbind use default domain = Yes
case sensitive = No
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
nt acl support = Yes
msdfs root = Yes
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
[netlogon]
path = /home/samba/netlogon
write list = Administrateur
writable = No
browseable = No
[profiles]
path = Profiles\%u
create mask = 0700
directory mask = 0700
profile acls = Yes
browseable = No
writeable = Yes
[homes]
comment = Repertoire Personnel %U
writeable = Yes
browseable = No
[partage]
comment = Repertoire commun
browseable = Yes
writeable = Yes
public = No
path = /home/partage
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
samba/printers
Any response will be helpful
THANK VERY MUCH.
--
-----------------------------------------------------------------
|JJohnny RANDRIAMAMPIONONA |
| Phone: +212663682554 |
| National School of Applied Sciences |
| 1818 TANGIER 90000 |
|----------------------------------------------------------------|
More information about the samba
mailing list