[Samba] create_connection_server_info failed: NT_STATUS_ACCESS_DENIED

2010-01-27 Thread azzouz

Hi!


I have a lot of those log line :

smbd[3604]: [2010/01/27 13:22:32,  1, effective(0, 0), real(0, 0)] 
smbd/service.c:make_connection_snum(744)

smbd[3604]:   create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
smbd[3604]: [2010/01/27 13:22:32,  1, effective(0, 0), real(0, 0)] 
smbd/service.c:make_connection_snum(744)

smbd[3604]:   create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
smbd[3604]: [2010/01/27 13:22:32,  1, effective(0, 0), real(0, 0)] 
smbd/service.c:make_connection_snum(744)


it occur when i write in a samba user directory through a  redirection 
from a windows XP client.
thus for instance when i download a file from internet and copy it from 
a windows client in the u:\My documents which is a redirection to samba 
home directory a have a lot of those l logs.



i don't why. An idea ?

thanks.

Y.

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


Re: [Samba] probleme samba login domain

2009-11-23 Thread azzouz

azzouz wrote:

Hi,

Until now I can no longer connect to my samba domain.
I don't know what happened.

What this ( below in the log) means:

dump workgroup on subnet  UNICAST_SUBNET: netmask= 192.168.10.253:
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #*011ETUDIANT(1) current 
master browser = UNKNOWN


*Some help ?

here is the log:



announce_myself_to_domain_master_browser: t (1258892410) - 
last(1258891660) < 900
Nov 22 13:20:20 localhost nmbd.bis[3275]: [2009/11/22 13:20:20,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:20 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:20 localhost nmbd.bis[3275]: [2009/11/22 13:20:20,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:20 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet 192.168.10.253: found.
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 10] 
nmbd/nmbd_sendannounce.c:announce_myself_to_domain_master_browser(381)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   
announce_myself_to_domain_master_browser: t (1258892420) - 
last(1258891660) < 900
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:dump_workgroups(281)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   dump_workgroups()
Nov 22 13:20:30 localhost nmbd.bis[3275]:dump workgroup on subnet  
192.168.10.253: netmask=  255.255.255.0:
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011ETUDIANT(1) current 
master browser = PALMIER
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011#011PALMIER 400c9b0b 
(bouleau server (Samba, Ubuntu))
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:dump_workgroups(281)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   dump_workgroups()
Nov 22 13:20:30 localhost nmbd.bis[3275]:dump workgroup on subnet  
UNICAST_SUBNET: netmask= 192.168.10.253:
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011ETUDIANT(1) current 
master browser = UNKNOWN
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011#011PALMIER 40099b0b 
(bouleau server (Samba, Ubuntu))
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) 
-> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:30 localhost nmb

[Samba] probleme samba login domain

2009-11-22 Thread azzouz

Hi,

Until now I can no longer connect to my samba domain.
I don't know what happened.

What this ( below in the log) means:

dump workgroup on subnet  UNICAST_SUBNET: netmask= 192.168.10.253:
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #*011ETUDIANT(1) current 
master browser = UNKNOWN


*Some help ?

here is the log:



announce_myself_to_domain_master_browser: t (1258892410) - 
last(1258891660) < 900
Nov 22 13:20:20 localhost nmbd.bis[3275]: [2009/11/22 13:20:20,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:20 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:20 localhost nmbd.bis[3275]: [2009/11/22 13:20:20,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:20 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet 192.168.10.253: found.
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 10] 
nmbd/nmbd_sendannounce.c:announce_myself_to_domain_master_browser(381)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   
announce_myself_to_domain_master_browser: t (1258892420) - 
last(1258891660) < 900
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:dump_workgroups(281)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   dump_workgroups()
Nov 22 13:20:30 localhost nmbd.bis[3275]:dump workgroup on subnet  
192.168.10.253: netmask=  255.255.255.0:
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011ETUDIANT(1) current 
master browser = PALMIER
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011#011PALMIER 400c9b0b 
(bouleau server (Samba, Ubuntu))
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:dump_workgroups(281)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   dump_workgroups()
Nov 22 13:20:30 localhost nmbd.bis[3275]:dump workgroup on subnet  
UNICAST_SUBNET: netmask= 192.168.10.253:
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011ETUDIANT(1) current 
master browser = UNKNOWN
Nov 22 13:20:30 localhost nmbd.bis[3275]:   #011#011PALMIER 40099b0b 
(bouleau server (Samba, Ubuntu))
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30, 18] 
lib/util_tdb.c:tdb_unpack(655)

Nov 22 13:20:30 localhost nmbd.bis[3275]:   tdb_unpack(wbddd, 35) -> 31
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:30 localhost nmbd.bis[3275]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170)
Nov 22 13:20:30 localhost nmbd.bis[3275]:   find_workgroup_on_subnet: 
workgroup search for ETUDIANT on subnet UNICAST_SUBNET: found.
Nov 22 13:20:30 localhost nmbd.bis[3439]: [2009/11/22 13:20:30,  4] 
nmbd/nmbd_winsserver.c:wins_write_database(2384)

[Samba] error getting workgroup name ....

2009-10-21 Thread azzouz

Hi !



I installed a server under Debian.
In this server i installed tow samba service. One for a domain D1  and 
an other for D2.
The conf file for D1 smb.D1.conf and the process smbd, nmbd, the network 
interface eth0, netbios name : name0
The conf file for D2 smb.D2.conf and the process smbd.bis, nmbd.bis, the 
network interface eth1, netbios name : name1


All work fine but a message eeror disturb me:

nmbd[12251]: [2009/10/21 06:29:37,  0] 
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(485)
Oct 21 06:29:37 localhost nmbd[12251]:   
get_domain_master_name_node_status_fail:
Oct 21 06:29:37 localhost nmbd[12251]:   Doing a node status request to 
the domain master browser at IP 192.168.10.253 failed.

Oct 21 06:29:37 localhost nmbd[12251]:   Cannot get workgroup name.

Oct 21 06:29:37 localhost nmbd.bis[27653]: [2009/10/21 06:29:37,  0] 
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(485)
Oct 21 06:29:37 localhost nmbd.bis[27653]:   
get_domain_master_name_node_status_fail:
Oct 21 06:29:37 localhost nmbd.bis[27653]:   Doing a node status request 
to the domain master browser at IP 192.168.20.253 failed.

Oct 21 06:29:37 localhost nmbd.bis[27653]:   Cannot get workgroup name.


What this main and how to resolve it ?


Thnks in advance

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

2009-09-04 Thread azzouz

azzouz wrote:

Hi !

il want tow have one ldap backend and tow instance domain in the same 
server.


tow question :

1 - when i start the first instance domain1 i get a SID witch is put 
to secrets.tbd file.


   but when i start the second one it detect the SID in secrets file 
and so don't create an other.


   how can i differenttiate the secrets.tbd file for each instance 
refered to a different smb.conf file and a particular domain ?


2 - this one is related to the first question:
 does someone have tested like this configuration and have user 
connexion to ldap from the tow domain.


Thanks !

Y.
i found one parameter to put in the smb.conf to determine the 
secrets.tbd path:


private dir =


now i test the ldap connexion from the tow domain

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


[Samba] samba / ldap

2009-09-04 Thread azzouz

Hi !

il want tow have one ldap backend and tow instance domain in the same 
server.


tow question :

1 - when i start the first instance domain1 i get a SID witch is put to 
secrets.tbd file.


   but when i start the second one it detect the SID in secrets file 
and so don't create an other.


   how can i differenttiate the secrets.tbd file for each instance 
refered to a different smb.conf file and a particular domain ?


2 - this one is related to the first question:
 does someone have tested like this configuration and have user 
connexion to ldap from the tow domain.


Thanks !

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


Re: [Samba] several domain

2009-09-04 Thread azzouz

Michael Wood wrote:

Sorry, I forgot to include the list in my reply.

2009/9/4 Michael Wood :
  

2009/9/4 azzouz :
[...]


otherwise the script don't work as i expected. i have tow different script :
one execute 1 instance for the domainn Domain1 and an other one for the
domain  domain1. The tow script refer to tow different smb.conf file.

1 - When i execute the first one first: it 's OK
  But when i execute the second one after: nothing! the process are not
executed.

2 - When i execute the second one first: it's ok
  But when i execute the first one after: nothing! the process are not
executed
 it's like i could only execute only one instance !

how to get around ?
  

Unfortunately I can't test this at the moment.  Maybe you should try
starting up smbd and nmbd from the command line first without using
the scripts.  When that's working it should be possible to make the
necessary changes to the scripts.

Try increasing the debugging when you start smbd and nmbd and checking
the logs to see if there are error messages.

Maybe you will not need two instances of nmbd, but maybe someone else
can comment.



  
i finaly create a copy of process smbd and nmbd that i indicate in the 
script and now it work !



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


Re: [Samba] several domain

2009-09-04 Thread azzouz

Michael Wood wrote:

Sorry, I forgot to include the list in my reply.

2009/9/4 Michael Wood :
  

2009/9/4 azzouz :
[...]


otherwise the script don't work as i expected. i have tow different script :
one execute 1 instance for the domainn Domain1 and an other one for the
domain  domain1. The tow script refer to tow different smb.conf file.

1 - When i execute the first one first: it 's OK
  But when i execute the second one after: nothing! the process are not
executed.

2 - When i execute the second one first: it's ok
  But when i execute the first one after: nothing! the process are not
executed
 it's like i could only execute only one instance !

how to get around ?
  

Unfortunately I can't test this at the moment.  Maybe you should try
starting up smbd and nmbd from the command line first without using
the scripts.  When that's working it should be possible to make the
necessary changes to the scripts.

Try increasing the debugging when you start smbd and nmbd and checking
the logs to see if there are error messages.

Maybe you will not need two instances of nmbd, but maybe someone else
can comment.



  

Hi!

I understand now !
in the script "start-stop-daemon --start ."  verify the process. 
if ithe process exist it don't execute the daemon.

Now i must change this.


Y.

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


Re: [Samba] several domain

2009-09-04 Thread azzouz

Michael Wood wrote:

2009/9/3 azzouz :
  

Michael Wood wrote:


2009/9/3 azzouz :
  

[...]
  

i write instead :

test -x `/usr/sbin/nmbd -D -s $CONFIG_FILE` -a -x `/usr/sbin/smbd -D -s
$CONFIG_FILE` || exit 0


This will run nmbd and will probably complain about "test: too many
arguments" (same for smbd) because you're supposed to call "test -x"
with a filename, and not with the string "smbd version ... Copyright
  

in fact it work fine. No complain from smbd



I'm glad you have it working, but that line is wrong anyway :)

"test -x /usr/sbin/smbd" means:
Is the file called /usr/sbin/smbd executable?  It does not run
/usr/sbin/smbd.  It just looks at the file to see if it is executable.

"test -x `/usr/sbin/smbd -D -s $CONFIG_FILE`" means:
Run /usr/sbin/smbd with parameters -D -s $CONFIG_FILE and get the
output.  (The output could be something like "smbd version
3.4.0-GIT-a3e9b62-devel started.
Copyright Andrew Tridgell and the Samba Team 1992-2009" or it could be nothing.)

If the output was "smbd version..." then the test line will expand to:

test -x smbd version...

and you will get an error about "too many arguments".

If the output was blank, then the test line will expand to:

test -x

I'm not sure why, but that does not complain and also returns
"success", so in your case I suspect this is what's happening.

But despite "test" not complaining or failing, that line still starts
smbd and nmbd when it isn't supposed to!  They are supposed to be
started further down in the script.  That line is only to see if they
are executable.

I hope my explanation is clear.

  

Hi !

oups ! You are right.

i test it and effectively smbd and nmbd are executed.
I change the script like first.

Thanks for the explanation.

otherwise the script don't work as i expected. i have tow different 
script : one execute 1 instance for the domainn Domain1 and an other one 
for the domain  domain1. The tow script refer to tow different smb.conf 
file.


1 - When i execute the first one first: it 's OK
   But when i execute the second one after: nothing! the process are 
not executed.


2 - When i execute the second one first: it's ok
   But when i execute the first one after: nothing! the process are not 
executed
  
it's like i could only execute only one instance !


how to get around ?


Y.






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


Re: [Samba] several domain

2009-09-03 Thread azzouz

Michael Wood wrote:

2009/9/3 azzouz :
[...]
  

There is a probleme !

in the /etc/init.d/smb file there is a test:

# See if the daemons are there
test -x /usr/sbin/nmbd -a -x /usr/sbin/smbd || exit 0



This means:
Test to see if /usr/sbin/nmbd is executable and /usr/sbin/smbd is
executable.  If not, then exit 0.
i.e. it just tests to see if the nmbd and smbd daemons are both executable.
This line does not actually run nmbd or smbd.

  

have i to comment this line. If so it could cause conflict. can't it ?



No, leave that as it was.

  

i write instead :

test -x `/usr/sbin/nmbd -D -s $CONFIG_FILE` -a -x `/usr/sbin/smbd -D -s
$CONFIG_FILE` || exit 0



This will run nmbd and will probably complain about "test: too many
arguments" (same for smbd) because you're supposed to call "test -x"
with a filename, and not with the string "smbd version ... Copyright
  

in fact it work fine. No complain from smbd

Andrew Tridgell..." etc.

  

in summary:

i create tow file in /etc/init.d: samb.domain1 and samba.domain2



OK

  

when il execute the first one i get tow smbd instance a one of nmbd (i don't
use yet wins). It 's normal.
But when execute the second one i get only one instance of nmbd. And vise
versa.

I think that the amount og instance of smbd is limited. Where could
configure the amount of instance



I don't know about this.  Did you specify in each config file that
each smbd must listen on its own interface only?

  

Yes. And what resolve is that specify also the option "bind interfaces
only = yes" and now it work very well.

An other question : i use ldap for the account. What about you ?
could i configure tow domain in ldap with different SID ?



I have not yet used LDAP with Samba.

  

thanks to you


Y.


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


Re: [Samba] several domain

2009-09-03 Thread azzouz

azzouz wrote:

azzouz wrote:

azzouz wrote:

Clément VERET wrote:

2009/9/2 azzouz :
 

Hi !

Is it possible for one samba server to manage several domain ( seral
instance) ?



Just run multiple smbd process with different config file and log 
dir :

smbd -s=$CONFIG_FILE -l=$LOG_PATH -D

You need to specify a different interface for each samba server as
well. Then, all you have to do is copying the original /etc/init.d/smb
file and modify the parameters for your second domain.
  

Great!

Thanks!

Are there some who test this sort of configuration ?
Don't this cause problems of load and availability  ?

Y.



Hi!

There is a probleme !

in the /etc/init.d/smb file there is a test:

# See if the daemons are there
test -x /usr/sbin/nmbd -a -x /usr/sbin/smbd || exit 0

have i to comment this line. If so it could cause conflict. can't it ?



i write instead :

test -x `/usr/sbin/nmbd -D -s $CONFIG_FILE` -a -x `/usr/sbin/smbd -D 
-s $CONFIG_FILE` || exit 0



in summary:

i create tow file in /etc/init.d: samb.domain1 and samba.domain2


when il execute the first one i get tow smbd instance a one of nmbd 
(i don't use yet wins). It 's normal.
But when execute the second one i get only one instance of nmbd. And 
vise versa.


I think that the amount og instance of smbd is limited. Where could 
configure the amount of instance




An other question : i use ldap for the account. What about you ?
could i configure tow domain in ldap with different SID ?


Thanks you help


Y.


I don't know why but it work now. I get tow smbd instance and one nmbd 
for the tow domain.
before i have just excuted smbd and nmbd in the fly. And now when the 
init.d script it works. Why ? i don't know.


Now i am going to test with ldap
what resolve the probleme is that i specify also the option "bind 
interfaces only = yes" and now it work very well


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


Re: [Samba] several domain

2009-09-03 Thread azzouz

azzouz wrote:

azzouz wrote:

Clément VERET wrote:

2009/9/2 azzouz :
 

Hi !

Is it possible for one samba server to manage several domain ( seral
instance) ?



Just run multiple smbd process with different config file and log dir :
smbd -s=$CONFIG_FILE -l=$LOG_PATH -D

You need to specify a different interface for each samba server as
well. Then, all you have to do is copying the original /etc/init.d/smb
file and modify the parameters for your second domain.
  

Great!

Thanks!

Are there some who test this sort of configuration ?
Don't this cause problems of load and availability  ?

Y.



Hi!

There is a probleme !

in the /etc/init.d/smb file there is a test:

# See if the daemons are there
test -x /usr/sbin/nmbd -a -x /usr/sbin/smbd || exit 0

have i to comment this line. If so it could cause conflict. can't it ?



i write instead :

test -x `/usr/sbin/nmbd -D -s $CONFIG_FILE` -a -x `/usr/sbin/smbd -D 
-s $CONFIG_FILE` || exit 0



in summary:

i create tow file in /etc/init.d: samb.domain1 and samba.domain2


when il execute the first one i get tow smbd instance a one of nmbd (i 
don't use yet wins). It 's normal.
But when execute the second one i get only one instance of nmbd. And 
vise versa.


I think that the amount og instance of smbd is limited. Where could 
configure the amount of instance




An other question : i use ldap for the account. What about you ?
could i configure tow domain in ldap with different SID ?


Thanks you help


Y.


I don't know why but it work now. I get tow smbd instance and one nmbd 
for the tow domain.
before i have just excuted smbd and nmbd in the fly. And now when the 
init.d script it works. Why ? i don't know.


Now i am going to test with ldap
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] several domain

2009-09-03 Thread azzouz

azzouz wrote:

Clément VERET wrote:

2009/9/2 azzouz :
 

Hi !

Is it possible for one samba server to manage several domain ( seral
instance) ?



Just run multiple smbd process with different config file and log dir :
smbd -s=$CONFIG_FILE -l=$LOG_PATH -D

You need to specify a different interface for each samba server as
well. Then, all you have to do is copying the original /etc/init.d/smb
file and modify the parameters for your second domain.
  

Great!

Thanks!

Are there some who test this sort of configuration ?
Don't this cause problems of load and availability  ?

Y.



Hi!

There is a probleme !

in the /etc/init.d/smb file there is a test:

# See if the daemons are there
test -x /usr/sbin/nmbd -a -x /usr/sbin/smbd || exit 0

have i to comment this line. If so it could cause conflict. can't it ?



i write instead :

test -x `/usr/sbin/nmbd -D -s $CONFIG_FILE` -a -x `/usr/sbin/smbd -D -s 
$CONFIG_FILE` || exit 0



in summary:

i create tow file in /etc/init.d: samb.domain1 and samba.domain2


when il execute the first one i get tow smbd instance a one of nmbd (i 
don't use yet wins). It 's normal.
But when execute the second one i get only one instance of nmbd. And 
vise versa.


I think that the amount og instance of smbd is limited. Where could 
configure the amount of instance




An other question : i use ldap for the account. What about you ?
could i configure tow domain in ldap with different SID ?


Thanks you help


Y.


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


Re: [Samba] several domain

2009-09-02 Thread azzouz

Clément VERET wrote:

2009/9/2 azzouz :
  

Hi !

Is it possible for one samba server to manage several domain ( seral
instance) ?



Just run multiple smbd process with different config file and log dir :
smbd -s=$CONFIG_FILE -l=$LOG_PATH -D

You need to specify a different interface for each samba server as
well. Then, all you have to do is copying the original /etc/init.d/smb
file and modify the parameters for your second domain.
  

Great!

Thanks!

Are there some who test this sort of configuration ?
Don't this cause problems of load and availability  ?

Y.

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


[Samba] several domain

2009-09-02 Thread azzouz

Hi !

Is it possible for one samba server to manage several domain ( seral 
instance) ?


I want to connecte tow diffent network to my server ( with tow interface 
) and get one different domain for each network manage par the same server.


Thanks !


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


[Samba] obligatory roaming profile

2006-08-30 Thread azzouz

hi,

with samba pdc could we configure obligatory roaming profile ?
and how to do it ?
thanks
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba schema

2006-08-29 Thread azzouz

hi,

could i update my samba schema without changing anything under ldap entry ?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba schema

2006-08-29 Thread azzouz

hi,

could i use the tow samba schemas :
the last one and the new one, all under samba 3 PDC server.

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


[Samba] samba root probleme !!

2006-08-29 Thread azzouz

hi,

I have installed the samba 3 release. but i don't update my ldap server.
to use previous ldap release using the old samba shema we can put 
ldapsam_compat under smb.conf.
all seem to work fine but my samba root couldn't connect from windows 
and so can't integrate windows wrokstation in the domaine.


are there someone who get the same probleme  and how to resolve it.

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


[Samba] samb 3 with the old shema samba and the root samba

2006-08-28 Thread azzouz

hi,

I update my samba PDC from the 2 release to the 3 one and let my old 
ldap release with the old shema (so using ldapsam_compat ).
All seem work fine (users can connect  from windows in the domaine ) but 
the root samba (uidnumber=0) which name is manager couldn't login, so i 
can't integrate windows workstation in the domaine. I create another one 
with uid= root but no good result. smbd log show:


smbd[15808]: (pam_unix) session opened for user root by (uid=0)
smbd[15808]: (pam_unix) session closed for user root

but i am not connected !

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


[Samba] samba / ldap

2006-02-04 Thread azzouz

hi,

I want to upgrade our LDAP server and our SAMBA PDC server  whitch 
support the  LDAP for user identification and authentification under 
windows.


The ldap sever release is 2.0.23 and we want to install the last stable 
one 2.3.19

The samba server release is 2.2.6 and we want to install the last stable 3.0

Could someone tell me if there are no probleme for upgrading ? How to 
migrate all the windows machine in the domaine "Samba PDC/Ldap" without 
réingrating them again ?


thanks sincerely

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


[Samba] SAMBA 2.7 to SAMBA 3.0

2005-11-22 Thread azzouz

hi,

I want to migrate the samba PDC server release 2.7 to samba PDC server 
release 3.0
Knowing that we use LDAP for all account and authentification how to 
migrate also the SID so i have not to reintégrate the machine in the 
domaine. Are there some tools that does that.
If someone have already done so that migration i would happy de know his 
experience.


Thanks.

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


[Samba] spk4 / windows 2000 / samba / ldap

2003-12-11 Thread Yahya AZZOUZ
hello,

I have had no problem to login to a domaine samba from a machine.
After i have installed windows spk4, a message tell me i can't load 
itinerant profile.
i don't use the profile section in smb.conf, the information is in ldap 
server
what happened  and what to do to resolve this problem

sincerely

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


[Samba] spk4 / windows 2000 / samba

2003-12-11 Thread Yahya AZZOUZ
hello,

I have had no problem to login to a domaine samba from a machine.
After i have installed windows spk4, a message tell me i can't load 
itinerant profile.
what happened  and what to do to resolve this problem

sincerely

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


[Samba] samba 2.2.6 to samba3.0

2003-10-22 Thread Yahya AZZOUZ
hello,

i want to update samba 2.2.6 to 3.0.
i have samba-ldap installed.
i don't want to create all the machine again. What files i have to save 
from samba 2.2.6 to have all the machines in the domaine after installed 
samba 3.0.

thanks

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


[Samba] CIFS / mount.cifs

2003-10-07 Thread Yahya AZZOUZ
hello,

I want to mount my homedirectory from a server to my workstation under 
linux using CIFS.
the command used is mount.cifs. It works fine but there is one probleme 
i have not yet  resolved.
I can not create a symbolic link from my homedirctory to local directory 
but i can create a symbolic link from a local directory to my home 
directory.
I have used the last cifs patch with no new results.
Some suggestions please

thanks

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


[Samba] linux ldap samba-PDC windows

2003-01-23 Thread azzouz
hi all,

i have linux and windows machines.
ldap as server account and samba server as PDC.
When an user changed his password from a windows machine he must also 
change the password in a linux machine.
How could a user change his password once only.

thanks.

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