Re: [Samba] Problem with Winbindd

2010-10-20 Thread Bruno Steven
Somebody know any diference between linux centos and openfiler for
integration with active directory?

I have tried a lot process doesnt works.

On 10/18/10, Bruno Steven aspe...@gmail.com wrote:
 I have Openfiler box, I am trying integrated base user with Active
 directory
 . When start service winbindd show this message

 The log winbindd

 tail -n 10 /var/log/samba/winbindd.log
 [2010/10/18 16:07:05,  0] winbindd/winbindd_util.c:init_domain_list(736)
   Could not fetch our SID - did we join?
 [2010/10/18 16:07:05,  0] winbindd/winbindd.c:main(1274)
   unable to initialize domain list
 [2010/10/18 16:19:57,  0]
 winbindd/winbindd_cache.c:initialize_winbindd_cache(2374)
   initialize_winbindd_cache: clearing cache and re-creating with version
 number 1
 [2010/10/18 16:19:57,  0] winbindd/winbindd_util.c:init_domain_list(736)
   Could not fetch our SID - did we join?
 [2010/10/18 16:19:57,  0] winbindd/winbindd.c:main(1274)
   unable to initialize domain list

 I have tried a lot forms for integration but nothing works !!!

 Please somebody can explain for me this message ?

 Thank very much .

 --
 Bruno Steven - Administrador de sistemas.

 *CompTIA Security+  - Code: JYN7BD9BJGRECFM8
 *



 *LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
 *

 *MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
 *


-- 
Sent from my mobile device

Bruno Steven - Administrador de sistemas.

*CompTIA Security+  - Code: JYN7BD9BJGRECFM8
*



*LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
*

*MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
*
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Problem with Winbindd

2010-10-18 Thread Bruno Steven
I have Openfiler box, I am trying integrated base user with Active directory
. When start service winbindd show this message

The log winbindd

tail -n 10 /var/log/samba/winbindd.log
[2010/10/18 16:07:05,  0] winbindd/winbindd_util.c:init_domain_list(736)
  Could not fetch our SID - did we join?
[2010/10/18 16:07:05,  0] winbindd/winbindd.c:main(1274)
  unable to initialize domain list
[2010/10/18 16:19:57,  0]
winbindd/winbindd_cache.c:initialize_winbindd_cache(2374)
  initialize_winbindd_cache: clearing cache and re-creating with version
number 1
[2010/10/18 16:19:57,  0] winbindd/winbindd_util.c:init_domain_list(736)
  Could not fetch our SID - did we join?
[2010/10/18 16:19:57,  0] winbindd/winbindd.c:main(1274)
  unable to initialize domain list

I have tried a lot forms for integration but nothing works !!!

Please somebody can explain for me this message ?

Thank very much .

-- 
Bruno Steven - Administrador de sistemas.

*CompTIA Security+  - Code: JYN7BD9BJGRECFM8
*



*LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
*

*MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
*
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Failed in net ads join

2010-07-16 Thread Bruno Steven
Please paste log from Event viewer Windows Server.

On Wed, Jul 14, 2010 at 5:26 PM, Jeremy Allison j...@samba.org wrote:

 On Wed, Jul 14, 2010 at 09:30:04AM +0800, John wrote:
  Use net ads join to join a Windows AD, But it fails.  It is some error
 message.
 
 
  libnet_join_ok: failed to get schannel session key from server
 wscc-s-003040.westshore.edu for domain WSCCNET. Error was
 NT_STATUS_ACCESS_DENIED
 
  Failed to join domain: failed to verify domain membership after joining:
 Access denied

 Debug level 10 log from the net command please.

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




-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba and Ubuntu 9.10

2010-07-16 Thread Bruno Steven
I have a tip change Ubuntu desktop for Centos or Ubunt SErver , but if you
don't have time, check /var/log/samba and start process smbd , nmbd and
winbind with DEBUG , is likelihood this logs show real situation.



On Thu, Jul 15, 2010 at 11:55 AM, Mario Salcedo msal...@pucp.edu.pe wrote:

 Hi. I have a problem with Samba in Ubuntu 9.10. In the last year I
 configure a Samba Server in Centos 5.2 for a school, all ok. In this
 year I did the same but in Ubuntu 9.10, but dont work. The students
 connect the Samba Server, but when they create documents the Samba
 Server disconnect them. After a time automatic they connect and
 disconnect again. The process is continue, connect and disconnect. I'd
 revised problem of red, permissions files, the fiel smb.conf but
 nothing.
  My configuration is ok. I compare with Centos.

 Any ideas.
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba




-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Pdbedit show only user root

2010-06-15 Thread Bruno Steven
Hi,

When i put the command pdbedit plus any user name show the message
user not found. Only user root is exibited. Why the others not show?

the service smbd winb nmbd slapd is running without problem.

Example

*r...@abramissrv smbldap-tools]# pdbedit -Lv teste*
Username not found!

*[r...@abramissrv smbldap-tools]# pdbedit -Lv root*
Unix username:root
NT username:  root
Account Flags:[U  ]
User SID: S-1-5-21-1281201103-1048660758-78004217-500
Primary Group SID:S-1-5-21-1281201103-1048660758-78004217-513
Full Name:root
Home Directory:
HomeDir Drive:
Logon Script:
Profile Path:
Domain:   REDEADM.COM
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  never
Kickoff time: never
Password last set:Tue, 15 Jun 2010 13:56:24 BRT
Password can change:  Tue, 15 Jun 2010 13:56:24 BRT
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours : FF
[r...@abramissrv smbldap-tools]#

My smb.conf

--authconfig--end-line--
unix charset = LOCALE
workgroup = REDEADM.COM
netbios name = AbramisSRV
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend = ldapsam:ldap://127.0.0.1
enable privileges = Yes
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
#printcap name = CUPS
show add printer wizard = No
add user script = /opt/IDEALX/sbin/smbldap-useradd -m %u
delete user script = /opt/IDEALX/sbin//smbldap-userdel %u
add group script = /opt/IDEALX/sbin/smbldap-groupadd -p %g
delete group script = /opt/IDEALX/sbin/smbldap-groupdel %g
add user to group script = /opt/IDEALX/sbin/smbldap-groupmod -m %u %g
delete user from group script = /opt/IDEALX/sbin/smbldap-groupmod -x %u
%g
set primary group script = /opt/IDEALX/sbin/smbldap-usermod -g %g %u
add machine script = /opt/IDEALX/sbin/smbldap-useradd -w %u


#logon script = scripts\logon.bat
#logon path = \\%L\profiles\%U
#logon drive = X:
logon path =
logon home =
domain logons = Yes
preferred master = Yes
wins support = Yes
ldap suffix = dc=redeadm,dc=com
ldap machine suffix = ou=Computers
#ldap user suffix = ou=Users
ldap user suffix = ou=Internet
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=adm,dc=redeadm,dc=com
idmap backend = ldap:ldap://127.0.0.1
#caso de errado descomente a duas proximas linhas
idmap uid = 1-2
idmap gid = 1-2
map acl inherit = Yes
#printing = cups
#printer admin = root, chrisr


*Thank very much*

-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba + Vscan

2009-12-20 Thread Bruno Steven
Hi

I am trying install Samba-Vscan. When run *make* show this message

[r...@linuxdefault samba-vscan]# make --debug
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

*This program built for i686-redhat-linux-gnu*
*Reading makefiles...*
*Updating goal targets*
* File `default' does not exist.*
*   File `all' does not exist.*
* File `oav' does not exist.*
*   File `vscan-oav.so' does not exist.*
* File `global/vscan-message.po' does not exist.*
*Must remake target `global/vscan-message.po'.*
*Compiling global/vscan-message.c with -fPIC*
*global/vscan-message.c: In function âvscan_send_warning_messageâ:*
*global/vscan-message.c:82: error: too many arguments to function
âcli_initialiseâ*
*global/vscan-message.c:82: error: wrong type argument to unary exclamation
mark*
*make: *** [global/vscan-message.po] Error 1*

*Somebody know about this message error ? How I can resolve this problem ? *

*Plus information *

The process *configure * run without any problems

./configure --with-samba-souce=/opt/source/samba-3.0.34/source/
--with-samba-version=/opt/source/samba-3.0.34/source/include/version.h
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for library containing strerror... none required
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking config.cache system type... same
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for inet_aton... yes
checking ability to build shared libraries... true
checking linker flags for shared libraries... -shared
checking compiler flags for position-independent code... -fPIC
checking for suffix of position-independent code... po
checking whether building shared libraries actually works... yes
checking for Samba Version... 3.0.34
configure: WARNING: you specified
--with-samba-version=/opt/source/samba-3.0.34/source/include/version.h
configure: WARNING: this will have no effect because the used
configure: WARNING: SAMBA Version 3.0.34 already
configure: WARNING: includes the SAMBA_VERSION_{MAJOR,MINOR,RELEASE}
define's
checking whether to use libclamav... no
checking whether use libmksd as builtin... auto
checking libmksd.h usability... no
checking libmksd.h presence... no
checking for libmksd.h... no
checking for mksd_connect in -lmksd... no
checking whether to use libmksd as builtin or system... builtin
checking whether use libkavdc as builtin... auto
checking kavclient.h usability... no
checking kavclient.h presence... no
checking for kavclient.h... no
checking for KAVConnect in -lkavdc... no
checking for KAVConnect in /usr/lib/kavdclib.so... no
checking whether to use libkavdc as builtin or system... builtin
checking whether to build Symantec module... no
checking whether to build only libmksd and libkavdc as shared libs... no
checking for filetype support... auto
checking magic.h usability... yes
checking magic.h presence... yes
checking for magic.h... yes
checking for magic_load in -lmagic... yes
checking whether to use filetype support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/vscan-config.h

** Configuration summary for samba-vscan 0.3.6 :

 Compile samba-vscan for Samba  : 3.0.34
 Compile samba-vscan with sources in: ../../../source
 Compile samba-vscan backends   : oav sophos fprotd fsav trend icap mksd
kavp clamav nai antivir
 Use GLOBAL_LIBS: -lmagic
 Use libmksd as : builtin
 Use libkavdc as: builtin

Now type make to build all mentioned backends.
Or make backend {backend} to build only specific backend(s).
On *BSD systems please use GNU make (gmake) instead of BSD make (make).

Thanks for all .


-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com

[Samba] Centos with Shadowcopy

2009-11-26 Thread Bruno Steven
Hello

I want use shadow copy for Linux , but I don´t found any document for
implementation in Centos only Debian, somebody have any document about this
?

Thanks.

-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Remove atributes from user

2009-11-25 Thread Bruno Steven
Hello

I need remove the follow atributes  from my user bruno

sambaHomePath: \\PDC-SRV\root
sambaHomeDrive: H:
sambaProfilePath: \\PDC-SRV\profiles\root


I don´t found any option using smbldap-usermod  , somebody have any idea ?

Thanks ..


-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] How create OU

2009-11-18 Thread Bruno Steven
Hi ...

I have squid integrated with OpenLdap . I need create an Ou and a lot of
groups but my Openldap is integrated with Samba too. How I could create OUs
in enviroment integrated ? For examaple, I create users using smbldap-tools
but this tool doesn´t create Ou.

Thanks .



-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba + LDAP problem for find user name

2009-10-27 Thread Bruno Steven
I have samba integrated with openldap , all process are up and I am trying
add one machine Windows XP with SP3 in domain Samba , but windows show this
message  Error while the attempt  of entry in domain amblivre.com  Is not
possible find user name

I am tired because I don´t found any solution about this problem , I need
some idea ..

Thanks ...

-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba + LDAP problem for find user name

2009-10-27 Thread Bruno Steven
Hi .. guy or girls ... until now I did´t found any information that resolv
my problem , there is somebody in this list that made Samba more Openldap
together work ?



On Tue, Oct 27, 2009 at 7:25 AM, Bruno Steven aspe...@gmail.com wrote:

 I have samba integrated with openldap , all process are up and I am trying
 add one machine Windows XP with SP3 in domain Samba , but windows show this
 message  Error while the attempt  of entry in domain amblivre.com  Is
 not possible find user name

 I am tired because I don´t found any solution about this problem , I need
 some idea ..

 Thanks ...

 --
 Bruno Steven - Administrador de sistemas.
 LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
 https://www.lpi.org/caf/Xamman/certification

 MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
 https://mcp.microsoft.com/authenticate/validatemcp.aspx


 P Antes de imprimir pense em sua responsabilidade e comprometimento com o
 Meio Ambiente. Before printing this message, think about your ecologic
 responsability and environment commitment.




-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Why Windows don´t found my user root

2009-10-23 Thread Bruno Steven
=gidNumber sambaSID sambaGroupType sambaSIDList
description displayName cn objectClass
conn=1 op=16 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=1 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=1 op=17 SRCH base=dc=amblivre,dc=com scope=2 deref=0
filter=((uid=vndr40$)(objectClass=sambaSamAccount))
conn=1 op=17 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet
sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime
sambaKickoffTime cn sn displayName sambaHomeDrive sambaHomePath
sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID
sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName
objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount
sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours
modifyTimestamp uidNumber
conn=1 op=17 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=1 op=18 SRCH base=ou=Groups,dc=amblivre,dc=com scope=2 deref=0
filter=((objectClass=sambaGroupMapping)(|(displayName=vndr40$)(cn=vndr40$)))
conn=1 op=18 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList
description displayName cn objectClass
conn=1 op=18 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=2 fd=19 ACCEPT from IP=127.0.0.1:50094 (IP=0.0.0.0:389)
conn=2 op=0 BIND dn=cn=adm,dc=amblivre,dc=com method=128
conn=2 op=0 BIND dn=cn=adm,dc=AMBLIVRE,dc=COM mech=SIMPLE ssf=0
conn=2 op=0 RESULT tag=97 err=0 text=
conn=2 op=1 SRCH base=dc=amblivre,dc=com scope=2 deref=2
filter=((objectClass=posixAccount)(uid=vndr40$))
conn=2 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=2 fd=19 closed (connection lost)
conn=1 fd=12 closed (connection lost)

Thanks .
-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx


P Antes de imprimir pense em sua responsabilidade e comprometimento com o
Meio Ambiente. Before printing this message, think about your ecologic
responsability and environment commitment.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] One Question .. the question... nobody don´t have answer ..

2009-10-14 Thread Bruno Steven
Please ignore the line  guest account = root  I commented the line .


On Wed, Oct 14, 2009 at 9:37 PM, Bruno Steven aspe...@gmail.com wrote:

 Sure , my smb.conf .. thanks ...
 #
 #=== Global Settings
 =

 [global]

 # --- Network Related Options -
 #
 netbios name = LinuxDefault
 workgroup = AMBLIVRE.COM
 server string = Samba Server Version %v
 #   enable privileges = yes

 ;   netbios name = MYSERVER

 ;   interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
 ;   hosts allow = 127. 192.168.12. 192.168.13.
 
 encrypt passwords = yes


 # --- Logging Options -
 #
 # Log File let you specify where to put logs and how to split them up.
 #
 # Max Log Size let you specify the max size log files should reach

 # logs split per machine
 # max 50KB per log file, then rotate
 ;   max log size = 50

 # --- Standalone Server Options
 
 #
 # Security can be set to user, share(deprecated) or server(deprecated)
 #
 # Backend to store user information in. New installations should
 # use either tdbsam or ldapsam. smbpasswd is available for backwards
 # compatibility. tdbsam requires no further configuration.
 guest account = root
 #   security = share
 #   passdb backend = tdbsam
 #   passdb backend = ldapsam:ldap://127.0.0.1

 # --- Domain Members Options 
 #
 # Security must be set to domain or ads
 #
 # Use the realm option only with security = ads
 # Specifies the Active Directory realm the host is part of
 #
 # Backend to store user information in. New installations should
 # use either tdbsam or ldapsam. smbpasswd is available for backwards
 # compatibility. tdbsam requires no further configuration.
 #
 # Use password server option only with security = server or if you can't
 # use the DNS to locate Domain Controllers
 # The argument list may include:
 #   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
 # or to auto-locate the domain controller/s
 #   password server = *


 ;   security = domain
 ;   passdb backend = tdbsam
 ;   realm = MY_REALM

 ;   password server = NT-Server-Name

 # --- Domain Controller Options
 
 #
 # Security must be set to user for domain controllers
 #
 # Backend to store user information in. New installations should
 # use either tdbsam or ldapsam. smbpasswd is available for backwards
 # compatibility. tdbsam requires no further configuration.
 #
 # Domain Master specifies Samba to be the Domain Master Browser. This
 # allows Samba to collate browse lists between subnets. Don't use this
 # if you already have a Windows NT domain controller doing this job
 #
 # Domain Logons let Samba be a domain logon server for Windows
 workstations.
 #
 # Logon Scrpit let yuou specify a script to be run at login time on the
 client
 # You need to provide it in a share called NETLOGON
 #
 # Logon Path let you specify where user profiles are stored (UNC path)
 #
 # Various scripts can be used on a domain controller or stand-alone
 # machine to add or delete corresponding unix accounts
 #
 ;   security = user
 ;   passdb backend = tdbsam

 domain master = yes
 domain logons = yes
# the login script name depends on the machine name
 ;   logon script = %m.bat
 # the login script name depends on the unix user used
 ;   logon script = %u.bat
 ;   logon path = \\%L\Profiles\%u
 # disables profiles support by specifing an empty path
 ;   logon path =

 ;   add user script = /usr/sbin/useradd %u -n -g users
 ;   add group script = /usr/sbin/groupadd %g
 ;   add machine script = /usr/sbin/useradd -n -c Workstation (%u) -M
 -d /nohome -s /bin/false %u
 ;   delete user script = /usr/sbin/userdel %u
 ;   delete user from group script = /usr/sbin/userdel %u %g
 ;   delete group script = /usr/sbin/groupdel %g


 # --- Browser Control Options
 
 #
 # set local master to no if you don't want Samba to become a master
 # browser on your network. Otherwise the normal election rules apply
 #
 # OS Level determines the precedence of this server in master browser
 # elections. The default value should be reasonable
 #
 # Preferred Master causes Samba to force a local browser election on
 startup
 # and gives it a slightly higher chance of winning the election
 local master = yes
 os level = 64
 preferred master = yes

 #- Name Resolution
 ---
 # Windows Internet Name Serving Support Section:
 # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
 #
 # - WINS Support: Tells

[Samba] One Question .. the question... nobody don´t have answer ..

2009-10-14 Thread Bruno Steven
Hello

Somebody have idea which user account is responsible of guest info ?  There
is any box linux with openldap and samba integrated ?

Thanks .. .

[2009/10/14 18:38:11, 0] smbd/server.c:main(942)
  smbd version 3.0.34 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/10/14 18:38:11, 0] param/loadparm.c:set_server_role(4293)
  Server's Role (logon server) conflicts with share-level security
[2009/10/14 18:38:11, 0] services/services_db.c:svcctl_init_keys(420)
  svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2009/10/14 18:38:11, 0] smbd/server.c:main(1057)
  ERROR: failed to setup guest info.


-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] One Question .. the question... nobody don´t have answer ..

2009-10-14 Thread Bruno Steven
Hi .. the option security level was uncomment , but I comment this option ,
so this message continues
 Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/10/14 18:51:35, 0] services/services_db.c:svcctl_init_keys(420)
  svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2009/10/14 18:51:35, 0] smbd/server.c:main(1057)
  ERROR: failed to setup guest info

Which is problem ?

Please any idea .. thank for all

 option don´t have relation with my problem , so I comment the line security
, but

On Wed, Oct 14, 2009 at 9:08 PM, Jeremy Allison j...@samba.org wrote:

 On Wed, Oct 14, 2009 at 09:03:40PM -0300, Bruno Steven wrote:
  Hello
 
  Somebody have idea which user account is responsible of guest info ?
  There
  is any box linux with openldap and samba integrated ?
 
  Thanks .. .
 
  [2009/10/14 18:38:11, 0] smbd/server.c:main(942)
smbd version 3.0.34 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
  [2009/10/14 18:38:11, 0] param/loadparm.c:set_server_role(4293)
Server's Role (logon server) conflicts with share-level security
  [2009/10/14 18:38:11, 0] services/services_db.c:svcctl_init_keys(420)
svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
  [2009/10/14 18:38:11, 0] smbd/server.c:main(1057)
ERROR: failed to setup guest info.

 You can't have security = share with domain logons = yes,
 it makes no sense. Fix that first.

 Jeremy.




-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] One Question .. the question... nobody don´t have answer ..

2009-10-14 Thread Bruno Steven
hello Miguel , I just comment this line cause the message* [2009/10/14
18:38:11, 0] param/loadparm.c:set_server_**role(4293)
 Server's Role (logon server) conflicts with share-level security,  *but the
true problem continues .. it´s very hard resolve this problem , Do have idea
about this message

[2009/10/14 18:38:11, 0] services/services_db.c:svcctl_init_keys(420)
  svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2009/10/14 18:38:11, 0] smbd/server.c:main(1057)
  ERROR: failed to setup guest info.

Ok ... thanks  very much ...


On Wed, Oct 14, 2009 at 9:12 PM, Miguel Medalha miguelmeda...@sapo.ptwrote:

 If I were you, I would look at this problem first:

  [2009/10/14 18:38:11, 0] param/loadparm.c:set_server_role(4293)
  Server's Role (logon server) conflicts with share-level security



 You have told your server to behave as a Domain Controller and yet at the
 same time you tell it to use share-level security?





-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] One Question .. the question... nobody don´t have answer ..

2009-10-14 Thread Bruno Steven
 be
#   at least oneWINS Server on the network. The default is NO.
#
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups.

wins support = yes
;   wins server = w.x.y.z
;   wins proxy = yes

;   dns proxy = yes

# --- Printing Options -
#
# Load Printers let you load automatically the list of printers rather
# than setting them up individually
#
# Cups Options let you pass the cups libs custom options, setting it to raw
# for example will let you use drivers on your Windows clients
#
# Printcap Name let you specify an alternative printcap file
#
# You can choose a non default printing system using the Printing option

#   load printers = yes
#   cups options = raw

;   printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
;   printcap name = lpstat
;   printing = cups

# --- Filesystem Options ---
#
# The following options can be uncommented if the filesystem supports
# Extended Attributes and they are enabled (usually by the mount option
# user_xattr). Thess options will let the admin store the DOS attributes
# in an EA and make samba not mess with the permission bits.
#
# Note: these options can also be set just per share, setting them in global
# makes them the default for all shares

;   map archive = no
;   map hidden = no
;   map read only = no
;   map system = no
;   store dos attributes = yes


#
#Integracao com OpenLdap
#Define o administrador do dominio ldap
ldap admin dn=cn=adm,dc=amblivre,dc=com
#Sufixo do dominio ldap
ldap admin dn=cn=adm,dc=amblivre,dc=com
#Sufixo do dominio ldap
ldap suffix = dc=amblivre,dc=com
# Nao sera usado SSL
ldap ssl = off
# Conexao com servidor ldap
passdb backend = ldapsam:ldap://127.0.0.1

#
#
#Configuradno samba com smbldapp-tools
ldap delete dn = Yes
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Idmap
ldap replication sleep = 5000
ldap passwd sync = yes
passwd program = /opt/source/smbldap-tools-0.9.5/smbldap-passwd %u
#ldap user script = /opt/source/smbldap-tools-0.9.5/smbldap-useradd -m %u
add user script = /opt/source/smbldap-tools-0.9.5/smbldap-useradd -m %u
add machine script = /opt/source/smbldap-tools-0.9.5/smbldap-useradd -w %u
add group script = /opt/source/smbldap-tools-0.9.5/smbldap-groupadd -p %g%
add user to group script = /opt/source/smbldap-tools-0.9.5/smbldap-groupmod
-x %u %g
set primary group script = /opt/source/smbldap-tools-0.9.5/smbldap-usermod
-g %g %u
idmap backend = ldap://127.0.0.1
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
#idmap uid = 1-15000
#idmap gid = 1-15000
# Share Definitions
==

[homes]
comment = Home Directories
browseable = no
writable = yes
;   valid users = %S
;   valid users = MYDOMAIN\%S

#[printers]
#   comment = All Printers
#   path = /var/spool/samba
#   browseable = no
#   guest ok = no
#   writable = no
#   printable = yes



On Wed, Oct 14, 2009 at 9:31 PM, Miguel Medalha miguelmeda...@sapo.ptwrote:

 Can you shows us the contents of your smb.conf file?




-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] smbd dead with message WERR_ACCESS_DENIED -- what access denied ?

2009-10-13 Thread Bruno Steven
Hello , I am trying resolve the problem when I try begin daemon smbd , show
this message in my log.smbd , Somebody know what cause this problem ? What
access denied ?

[2009/10/13 15:37:54, 0] services/services_db.c:svcctl_init_keys(420)
  svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2009/10/13 15:37:54, 0] smbd/server.c:main(1057)
  ERROR: failed to setup guest info.

Case somebody have any link about this problem or similar please paste send
for me .

Thanks ...
-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] smbd dead with message WERR_ACCESS_DENIED -- what access denied ?

2009-10-13 Thread Bruno Steven
Hi thank for respond me  , Ok

I pasted the result  testparm -s


/usr/local/samba/bin/testparm -s

Load smb config files from /usr/local/samba/lib/smb.conf
Processing section [homes]
Processing section [printers]
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
[global]
workgroup = AMBLIVRE.COM
server string = Samba Server Version %v
passdb backend = ldapsam:ldap://127.0.0.1
passwd program = /opt/source/smbldap-tools-0.9.5/smbldap-passwd %u
add user script = /opt/source/smbldap-tools-0.9.5/smbldap-useradd -m
%u
add group script = /opt/source/smbldap-tools-0.9.5/smbldap-groupadd
-p 
 %g%
add user to group script =
/opt/source/smbldap-tools-0.9.5/smbldap-group
 mod -x %u %g
set primary group script =
/opt/source/smbldap-tools-0.9.5/smbldap-userm
 od -g %g %u
add machine script = /opt/source/smbldap-tools-0.9.5/smbldap-useradd
-w
%u
domain logons = Yes
os level = 64
preferred master = Yes
local master = No
domain master = Yes
wins support = Yes
ldap admin dn = cn=adm,dc=amblivre,dc=com
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap replication sleep = 5000
ldap suffix = dc=amblivre,dc=com
ldap user suffix = ou=Users
idmap backend = ldap://127.0.0.1
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No


On Tue, Oct 13, 2009 at 5:53 PM, John H Terpstra - Samba Team j...@samba.org
 wrote:

 On 10/13/2009 03:51 PM, Bruno Steven wrote:
  Hello , I am trying resolve the problem when I try begin daemon smbd ,
 show
  this message in my log.smbd , Somebody know what cause this problem ?
 What
  access denied ?
 
  [2009/10/13 15:37:54, 0] services/services_db.c:svcctl_init_keys(420)
svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
  [2009/10/13 15:37:54, 0] smbd/server.c:main(1057)
ERROR: failed to setup guest info.
 
  Case somebody have any link about this problem or similar please paste
 send
  for me .
 
  Thanks ...

 Please send the output of 'testparm -s'

 - John T.




-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] problem with smbd

2009-10-09 Thread Bruno Steven
/chaves/servercert.pem
#TLSCertificateKeyFile /etc/openldap/chaves/serverkey.pem

#Politicas de acesso para o Kerberos
access to attrs=userPassword,sambaLMPassword,sambaNTPassword
by self write
by anonymous auth
by * none

access to *
   by * read

#access to *
#   by dn=cn=adm,dc=amblivre,dc=com write
#   by * read

#access to attrs=cn,gibenName, sn, krbNAme,krb5PrincipalNAme, gecos
#   by dn=cn=adm,dc=labcom,dc=unasp write
#   by dn=uid=ldap.+\+realm=LABCOM.UNASP write
#   by self write
#   by * read

#access to attr=loginShell , gecos
#   by dn=cn=adm,dc=labcom,dc=unasp write
#by dn=uid=ldap.+\+realm=LABCOM.UNASP write
#by self write
#by * read

#access to attr=userPassword
#   by dn=cn=adm,dc=labcom,dc=unasp write
#by dn=uid=ldap.+\+realm=LABCOM.UNASP write
#by anonymous auth
#by * read
:

#access to *
#   by dn=cn=adm,dc=labcom,dc=unasp write
#by dn=uid=ldap.+\+realm=LABCOM.UNASP write
#by self write
#by * read








On Thu, Oct 8, 2009 at 4:31 AM, Bruno MACADRE
bruno.maca...@univ-rouen.frwrote:

 Bruno Steven a écrit :
  Ok , I fix but when started the smbd show other problem
 
  [2009/10/07 15:19:47, 1] passdb/pdb_ldap.c:pdb_init_ldapsam(5720)
pdb_init_ldapsam: Resetting SID for domain AMBLIVRE.COM
  http://AMBLIVRE.COM based on pdb_ldap results
  S-1-5-21-755328524-3875606875-861347881 -
  S-1-5-21-1644746683-2480834100-52597
  [2009/10/07 15:19:47, 1] passdb/pdb_ldap.c:pdb_init_ldapsam(5727)
New global sam SID: S-1-5-21-1644746683-2480834100-52597
  [2009/10/07 15:19:47, 0] services/services_db.c:svcctl_init_keys(420)
svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
  [2009/10/07 15:19:47, 0] smbd/server.c:main(1057)
ERROR: failed to setup guest info.
 
  This problem have relation with SSL other thing ?
 
  On Wed, Oct 7, 2009 at 6:28 PM, Bruno MACADRE
  bruno.maca...@univ-rouen.fr mailto:bruno.maca...@univ-rouen.fr
 wrote:
 
  Hi,
 
This message indicate that you have forget to tell your LDAP
  admin password to SAMBA
 
You just need to give the password for the ldap admin user you
  specify in your smb.conf (ldap admin dn), using this command :
 
# smbpasswd -w ldap_admin_password
or if you prefer
# smbpasswd -W (you'll be prompted for the ldap admin password
  twice) !
 
Regards,
Bruno
 
   Bruno Steven a écrit :
 
  Hello
 
  I try intregate LDAP more SAMBA , when I start the process smbd
  -D show the
  message follow
 
 
  [2009/10/07 14:58:12, 0]
 lib/smbldap.c:smbldap_connect_system(942)
   ldap_connect_system: Failed to retrieve password from
 secrets.tdb
  [2009/10/07 14:58:12, 0] smbd/server.c:main(1057)
   ERROR: failed to setup guest info.
 
  Somebody can explain the message , I don´t understand this
 message.
 
  Thanks ..
 
 
 
 
 
 
 
  --
  Bruno Steven - Administrador de sistemas.
  LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
  https://www.lpi.org/caf/Xamman/certification
 
  MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
  https://mcp.microsoft.com/authenticate/validatemcp.aspx

 Are you sure that the ldap admin dn you've supplied have full access
 over your LDAP ?


 --

 Bruno MACADRE
 ---
  Ingénieur Systèmes et Réseau | Systems and Network Engineer
  Département Informatique | Department of computer science
  Responsable Réseau et Téléphonie | Telecom and Network Manager
  Université de Rouen  | University of Rouen
 ---
 Coordonnées / Contact :
Université de Rouen
Faculté des Sciences et Techniques - Madrillet
Avenue de l'Université - BP12
76801 St Etienne du Rouvray CEDEX
FRANCE

Tél : +33 (0)2-32-95-51-86
Fax : +33 (0)2-32-95-51-87
 ---




-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] smbpoupolate don´t find naming attibute SambaDomainName

2009-10-07 Thread Bruno Steven
hello

I try intregrate samba with openldap when  I put smb-poupolate show this
message
*failed to add entry: naming attribute 'sambaDomainName' is not present in
entry at /opt/IDEALX/sbin/smbldap-populate line 389, GEN1 line 7.*

I check the smb.conf and smbldap.conf  I don´t found any mistake , somebody
can help me ?

Thanks all


-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] problem with smbd

2009-10-07 Thread Bruno Steven
Hello

I try intregate LDAP more SAMBA , when I start the process smbd -D show the
message follow


[2009/10/07 14:58:12, 0] lib/smbldap.c:smbldap_connect_system(942)
  ldap_connect_system: Failed to retrieve password from secrets.tdb
[2009/10/07 14:58:12, 0] smbd/server.c:main(1057)
  ERROR: failed to setup guest info.

Somebody can explain the message , I don´t understand this message.

Thanks ..

-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] problem with smbd

2009-10-07 Thread Bruno Steven
Ok , I fix but when started the smbd show other problem
[2009/10/07 15:19:47, 1] passdb/pdb_ldap.c:pdb_init_ldapsam(5720)
  pdb_init_ldapsam: Resetting SID for domain AMBLIVRE.COM based on pdb_ldap
results S-1-5-21-755328524-3875606875-861347881 -
S-1-5-21-1644746683-2480834100-52597
[2009/10/07 15:19:47, 1] passdb/pdb_ldap.c:pdb_init_ldapsam(5727)
  New global sam SID: S-1-5-21-1644746683-2480834100-52597
[2009/10/07 15:19:47, 0] services/services_db.c:svcctl_init_keys(420)
  svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2009/10/07 15:19:47, 0] smbd/server.c:main(1057)
  ERROR: failed to setup guest info.

This problem have relation with SSL other thing ?

On Wed, Oct 7, 2009 at 6:28 PM, Bruno MACADRE
bruno.maca...@univ-rouen.frwrote:

 Hi,

   This message indicate that you have forget to tell your LDAP admin
 password to SAMBA

   You just need to give the password for the ldap admin user you specify in
 your smb.conf (ldap admin dn), using this command :

   # smbpasswd -w ldap_admin_password
   or if you prefer
   # smbpasswd -W (you'll be prompted for the ldap admin password twice) !

   Regards,
   Bruno

  Bruno Steven a écrit :

  Hello

 I try intregate LDAP more SAMBA , when I start the process smbd -D show
 the
 message follow


 [2009/10/07 14:58:12, 0] lib/smbldap.c:smbldap_connect_system(942)
  ldap_connect_system: Failed to retrieve password from secrets.tdb
 [2009/10/07 14:58:12, 0] smbd/server.c:main(1057)
  ERROR: failed to setup guest info.

 Somebody can explain the message , I don´t understand this message.

 Thanks ..







-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Atribute 'userPAssword' not allowed

2009-09-22 Thread Bruno Steven
Hello
I am  trying add smbpasswd for user root , my environment is samba
integrated with openldap , I found the message down at moment that was
creating smbpasswd for root, with command smbpasswd -a root  , show this log
in my sladp.log

ldap_read: want=80, got=80
  :  17 31 2e 33 2e 36 2e 31  2e 34 2e 31 2e 34 32 30   .1.3.6.1.4.1.420
  0010:  33 2e 31 2e 31 31 2e 31  81 36 30 34 80 26 75 69   3.1.11.1.604.ui
  0020:  64 3d 72 6f 6f 74 2c 6f  75 3d 70 65 73 73 6f 61   d=root,ou=pessoa
  0030:  73 2c 64 63 3d 61 6d 62  6c 69 76 72 65 2c 64 63   s,dc=amblivre,dc
  0040:  3d 63 6f 6d 82 08 70 69  6c 61 73 74 72 6f 05 00   =com..pilastro..
ldap_read: want=8 error=Resource temporarily unavailable
Entry (uid=root,ou=pessoas,dc=amblivre,dc=com), attribute 'userPassword' not
allowed
entry failed schema check: attribute 'userPassword' not allowed

By log , the schema samba not allowed attribute 'userPassword' , Somebody
know  how resolve this problem ?

-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Problem with net rpc .

2009-09-16 Thread Bruno Steven
Hi guys ...
I have samba Version 3.0.33-3.7.el5_3.1 integrated with Openldap I have
trying run the command *net rpc join -U root , * but show message
 Creation of workstation account failedUnable to join domain TEST.COM.

The content my /var/log/messages

Sep 15 09:32:08 amblivre smbd[4163]: [2009/09/15 09:32:08, 0]
smbd/server.c:main(986)
Sep 15 09:32:08 amblivre smbd[4163]:   standard input is not a socket,
assuming -D option
Sep 15 09:32:08 amblivre smbd[4164]: [2009/09/15 09:32:08, 0]
/builddir/build/BUILD/samba-3.0.33/source/lib/pidfile.c:pidfile_create(112)
Sep 15 09:32:08 amblivre smbd[4164]:   ERROR: smbd is already running. File
/var/run/smbd.pid exists and process id 4017 is running.
Sep 15 09:33:27 amblivre smbd[4178]: [2009/09/15 09:33:27, 0]
rpc_server/srv_netlog_nt.c:get_md4pw(242)
Sep 15 09:33:27 amblivre smbd[4178]:   get_md4pw: Workstation AMBLIVRE$: no
account in domain
Sep 15 09:33:27 amblivre smbd[4178]: [2009/09/15 09:33:27, 0]
rpc_server/srv_netlog_nt.c:_net_auth_2(461)
Sep 15 09:33:27 amblivre smbd[4178]:   _net_auth2: failed to get machine
password for account AMBLIVRE$: NT_STATUS_ACCESS_DENIED
Sep 15 09:33:27 amblivre smbd[4178]: [2009/09/15 09:33:27, 0]
rpc_server/srv_netlog_nt.c:get_md4pw(242)
Sep 15 09:33:27 amblivre smbd[4178]:   get_md4pw: Workstation AMBLIVRE$: no
account in domain
Sep 15 09:33:27 amblivre smbd[4178]: [2009/09/15 09:33:27, 0]
rpc_server/srv_netlog_nt.c:_net_auth_2(461)
Sep 15 09:33:27 amblivre smbd[4178]:   _net_auth2: failed to get machine
password for account AMBLIVRE$: NT_STATUS_ACCESS_DENIED
Sep 15 09:33:30 amblivre smbd[4179]: [2009/09/15 09:33:30, 0]
passdb/pdb_interface.c:pdb_default_create_user(329)

Somebody have any idea how resolve this problem ?

Thanks all.



-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Help with Samba more Openldap

2009-09-08 Thread Bruno Steven
I some need help , I have Centos 5.2 with samba with openldap integrated, I
have trying add computer Windows 2003 for domain Samba, but when the is
solicited passord from user administrator from Samba in my case is root ,
show the message, the user or passoword is wrong or is no exist, How I can
resolv this problem ?

-- 
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification

MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba