[Samba] creating user problems under samba 3

Victor Medina linux at epa.com.ve
Fri Apr 15 20:07:17 GMT 2005


Hi John! Thanks for taking time to answer me.


On Fri, 2005-04-15 at 13:28 -0600, John H Terpstra wrote:
> On Friday 15 April 2005 13:15, Victor Medina wrote:
> > Hi all!!
> >
> > I am using Samba 3 (3.0.4) and SuSE SLES 9. I am having troubles trying
> > to create new users and machines accounts on the newly created domain.
> > Could somebody answer me why i am receiving this error messages?
> 
> The problem could be caused by a large number of possible factors.
> 
> Send me the output of: testparm -s
> 
> Also, have you followed the Samba documentation? The best document for 
> comparing your configuration with the official recommendations is the book 
> "Samba-3 by Exampe" available from Amazon.Com or by downloading from:
> 

YEAP! I have the latest version dated, April 15. 

This domain is a migration from a OLD nt4 domain. We are following the
book almost religiously(both, the how-tos and the by examples). We've
been using the new domain in a test basis, we migrate some of our
machines to the newly created domain, the problem seems to be to create
new accounts. All of the old accounts (machines and users) are working
just fine with the new domain. I suspect i can join a machine ONLY if
it's already in the domain (migrated from the old one) but new joins
fails, as a create a new users fails also. AM i crazy? or this could
happen?

I am even sending you a list of the groups mapping.

Best Regards

Victor
-------------- next part --------------
# Global parameters
[global]
	workgroup = EPA0.VE.EPA.COM
	map to guest = Bad User
	passdb backend = tdbsam
	pam password change = Yes
	passwd chat = *New*Password* %n\n *Re-enter*new*password* %n\n *Password*changed*
	username map = /etc/samba/smbusers
	unix password sync = Yes
	name resolve order = wins bcast hosts
	time server = Yes
	printcap cache time = 750
	add user script = /usr/sbin/useradd -m %u
	delete user script = /usr/sbin/userdel -r %u
	add group script = /usr/sbin/groupadd %g
	delete group script = /usr/sbin/groupdel %g
	add user to group script = /usr/sbin/usermod -G %g %u
	add machine script = /usr/sbin/useradd -s /bin/false %u
	logon script = scripts\logon.bat
	logon path = 
	logon drive = H:
	logon home = \\%L\%U\.9xprofile
	domain logons = Yes
	os level = 65
	preferred master = Yes
	domain master = Yes
	wins support = Yes
	printer admin = @ntadmin, root, administrator
	cups options = raw
	printer name = Sistemas

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	inherit permissions = Yes
	browseable = No

[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	create mask = 0600
	directory mask = 0700
	store dos attributes = Yes

[users]
	comment = All users
	path = /home
	read only = No
	inherit permissions = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit permissions = Yes

[pdf]
	comment = PDF creator
	path = /var/tmp
	create mask = 0600
	printable = Yes

[printers]
	comment = All Printers
	path = /var/tmp
	create mask = 0600
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin, root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

[netlogon]
	path = /var/lib/samba/netlogon
	guest ok = Yes

[documentos]
	path = /export/Documentos
	read only = No
	create mask = 0770
	directory mask = 0770
	guest ok = Yes

[impresorasistemas]
	comment = HP Jaserjet
	path = /var/tmp
	printer admin = @ntadmin, root, administrator, @users
	read only = No
	create mask = 0600
	guest ok = Yes
	printable = Yes
	printer name = ImpresoraSistemas
	oplocks = No
	share modes = No

[entrepito]
	path = /tmp
-------------- next part --------------
Opers. de servidores (S-1-5-32-549) -> daemon
Domain Guests (S-1-5-21-134045413-280566717-701057205-514) -> nobody
Gmedios (S-1-5-21-134045413-280566717-701057205-3536) -> Gmedios
GCostaRica (S-1-5-21-134045413-280566717-701057205-4063) -> GCostaRica
Gventas (S-1-5-21-134045413-280566717-701057205-3511) -> Gventas
Beneficios (S-1-5-21-134045413-280566717-701057205-2228) -> Beneficios
Gadiestramiento (S-1-5-21-134045413-280566717-701057205-3507) -> Gadiestramiento
Rredes (S-1-5-21-134045413-280566717-701057205-2236) -> Rredes
Duplicadores (S-1-5-32-552) -> kmem
Invitados (S-1-5-32-546) -> nobody
Domain Admins (S-1-5-21-134045413-280566717-701057205-512) -> root
Gredes (S-1-5-21-134045413-280566717-701057205-3337) -> Gredes
TWGSuperAdmins (S-1-5-21-134045413-280566717-701057205-1881) -> TWGSuperAdmins
GCorreo (S-1-5-21-134045413-280566717-701057205-3642) -> GCorreo
Carpeteros (S-1-5-21-134045413-280566717-701057205-1254) -> Carpeteros
Gerencia (S-1-5-21-134045413-280566717-701057205-1136) -> Gerencia
Control (S-1-5-21-134045413-280566717-701057205-1441) -> Control
Helpdesk (S-1-5-21-134045413-280566717-701057205-2062) -> Helpdesk
Domain Users (S-1-5-21-1447563447-2237022927-4048102053-513) -> users
GCostaRicaObras (S-1-5-21-134045413-280566717-701057205-4222) -> GCostaRicaObras
Gctrodedistribucion (S-1-5-21-134045413-280566717-701057205-3516) -> Gctrodedistribucion
SAT (S-1-5-21-134045413-280566717-701057205-1811) -> SAT
Gcredito (S-1-5-21-134045413-280566717-701057205-3537) -> Gcredito
Mercadeo (S-1-5-21-134045413-280566717-701057205-1068) -> Mercadeo
Gcomitederiesgo (S-1-5-21-134045413-280566717-701057205-3595) -> Gcomitederiesgo
Gmantenimiento (S-1-5-21-134045413-280566717-701057205-3512) -> Gmantenimiento
Nomina (S-1-5-21-134045413-280566717-701057205-1747) -> Nomina
Gcontrol (S-1-5-21-134045413-280566717-701057205-3520) -> Gcontrol
Grelacionescliente (S-1-5-21-134045413-280566717-701057205-4154) -> Grelacionescliente
Users (S-1-5-21-134045413-280566717-701057205-1201) -> users
Gjefeservicios (S-1-5-21-134045413-280566717-701057205-4503) -> Gjefeservicios
Rgerencia (S-1-5-21-134045413-280566717-701057205-1446) -> Rgerencia
Greposicion (S-1-5-21-134045413-280566717-701057205-3961) -> Greposicion
GContratadosSistemas (S-1-5-21-134045413-280566717-701057205-3606) -> GContratadosSistemas
Goym (S-1-5-21-134045413-280566717-701057205-3500) -> Goym
Gsistemas (S-1-5-21-134045413-280566717-701057205-3498) -> Gsistemas
Rcontabilidad (S-1-5-21-134045413-280566717-701057205-1442) -> Rcontabilidad
Gseguridadind (S-1-5-21-134045413-280566717-701057205-3509) -> Gseguridadind
Gfinanzas (S-1-5-21-134045413-280566717-701057205-3521) -> Gfinanzas
Personal (S-1-5-21-134045413-280566717-701057205-1027) -> Personal
Power Users (S-1-5-32-547) -> ntadmin
Gimportaciones (S-1-5-21-134045413-280566717-701057205-3517) -> Gimportaciones
Gcomuncontratados (S-1-5-21-134045413-280566717-701057205-3610) -> Gcomuncontratados
Gcuentasporpagar (S-1-5-21-134045413-280566717-701057205-3575) -> Gcuentasporpagar
Gobras (S-1-5-21-134045413-280566717-701057205-3550) -> Gobras
IsaAccesoTotal (S-1-5-21-134045413-280566717-701057205-2857) -> IsaAccesoTotal
GMercantil (S-1-5-21-134045413-280566717-701057205-3596) -> GMercantil
Domain Users (S-1-5-21-134045413-280566717-701057205-513) -> users
Gmerchandising (S-1-5-21-134045413-280566717-701057205-3513) -> Gmerchandising
G_Sistemas (S-1-5-21-134045413-280566717-701057205-2572) -> G_Sistemas
Auditoria (S-1-5-21-134045413-280566717-701057205-2913) -> Auditoria
Opers. de impresi?n (S-1-5-32-550) -> lp
Administradores (S-1-5-32-544) -> sys
Ginvestigaciones (S-1-5-21-134045413-280566717-701057205-3534) -> Ginvestigaciones
Importaciones (S-1-5-21-134045413-280566717-701057205-1100) -> Importaciones
Glogistica (S-1-5-21-134045413-280566717-701057205-4448) -> Glogistica
Rpersonal (S-1-5-21-134045413-280566717-701057205-1451) -> Rpersonal
Gautocad (S-1-5-21-134045413-280566717-701057205-3636) -> Gautocad
Finanzas (S-1-5-21-134045413-280566717-701057205-1696) -> Finanzas
Sistemas (S-1-5-21-134045413-280566717-701057205-1484) -> Sistemas
Gpersonal (S-1-5-21-134045413-280566717-701057205-3505) -> Gpersonal
Roym (S-1-5-21-134045413-280566717-701057205-1659) -> Roym
Rimportaciones (S-1-5-21-134045413-280566717-701057205-1447) -> Rimportaciones
Domain Admins (S-1-5-21-1447563447-2237022927-4048102053-512) -> root
Grevisoria (S-1-5-21-134045413-280566717-701057205-3526) -> Grevisoria
SitiosInternos (S-1-5-21-134045413-280566717-701057205-3408) -> SitiosInternos
Gcomputacion (S-1-5-21-134045413-280566717-701057205-3499) -> Gcomputacion
Rcontrol (S-1-5-21-134045413-280566717-701057205-1443) -> Rcontrol
Adiestramiento (S-1-5-21-134045413-280566717-701057205-2230) -> Adiestramiento
RCD (S-1-5-21-134045413-280566717-701057205-1736) -> RCD
Opers. de cuentas (S-1-5-32-548) -> wheel
Gcontabilidad (S-1-5-21-134045413-280566717-701057205-3522) -> Gcontabilidad
Ventas (S-1-5-21-134045413-280566717-701057205-1711) -> Ventas
Domain Guests (S-1-5-21-1447563447-2237022927-4048102053-514) -> nobody
Gmercadeo (S-1-5-21-134045413-280566717-701057205-3530) -> Gmercadeo
IsaAccesoHttp (S-1-5-21-134045413-280566717-701057205-2858) -> IsaAccesoHttp
Legal (S-1-5-21-134045413-280566717-701057205-3433) -> Legal
Gserviciosoficina (S-1-5-21-134045413-280566717-701057205-3514) -> Gserviciosoficina
Autocad (S-1-5-21-134045413-280566717-701057205-2019) -> Autocad
Web (S-1-5-21-134045413-280566717-701057205-2077) -> Web
Gpromociones (S-1-5-21-134045413-280566717-701057205-3535) -> Gpromociones
Tivoli_Admin_Privileges (S-1-5-21-134045413-280566717-701057205-3238) -> Tivoli_Admin_Privileges
RSAT (S-1-5-21-134045413-280566717-701057205-1805) -> RSAT
TaskUsers (S-1-5-21-134045413-280566717-701057205-1818) -> TaskUsers
Ggerencia (S-1-5-21-134045413-280566717-701057205-3510) -> Ggerencia
Rfinanzas (S-1-5-21-134045413-280566717-701057205-1697) -> Rfinanzas
GCostaRicaSistemas (S-1-5-21-134045413-280566717-701057205-4258) -> GCostaRicaSistemas
Rmercadeo (S-1-5-21-134045413-280566717-701057205-1448) -> Rmercadeo
Glegal (S-1-5-21-134045413-280566717-701057205-3527) -> Glegal
Cuentas_Por_Pagar (S-1-5-21-134045413-280566717-701057205-2586) -> Cuentas_Por_Pagar
Operadores de copia (S-1-5-32-551) -> bin
Users (S-1-5-32-545) -> -1
GSoporte (S-1-5-21-134045413-280566717-701057205-3467) -> GSoporte
TWGAdmins (S-1-5-21-134045413-280566717-701057205-1880) -> TWGAdmins
Gnomina (S-1-5-21-134045413-280566717-701057205-3523) -> Gnomina
Rventas (S-1-5-21-134045413-280566717-701057205-1712) -> Rventas
GCompras1 (S-1-5-21-134045413-280566717-701057205-4144) -> GCompras1
Contabilidad (S-1-5-21-134045413-280566717-701057205-1135) -> Contabilidad
Compras (S-1-5-21-134045413-280566717-701057205-1004) -> Compras
Gcontactoepa (S-1-5-21-134045413-280566717-701057205-3531) -> Gcontactoepa
Rcompras (S-1-5-21-134045413-280566717-701057205-1440) -> Rcompras
GCostaRicaOyM (S-1-5-21-134045413-280566717-701057205-4364) -> GCostaRicaOyM
G_Helpdesk (S-1-5-21-134045413-280566717-701057205-2566) -> G_Helpdesk
Rnomina (S-1-5-21-134045413-280566717-701057205-1449) -> Rnomina
CentrodeDistribucion (S-1-5-21-134045413-280566717-701057205-2599) -> CentrodeDistribucion
IndicaCalidad (S-1-5-21-134045413-280566717-701057205-2317) -> IndicaCalidad
Gcompras (S-1-5-21-134045413-280566717-701057205-3515) -> Gcompras


More information about the samba mailing list