[Samba] samba be pdc

2003-09-30 Thread sonjaya
how to set samba server be pdc with authentihic user
1.openldap
2.passwd
3.mysql
4.postgresql

and how to complie it , if i have source ?
thank's

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


[Samba] error smbadduser

2003-09-30 Thread sonjaya
i try to instal samba be pdc and evrry add user i get error like this :
[EMAIL PROTECTED] sambaconf]# ./smbadduser

Enter the [Login name] for new samba user :
[EMAIL PROTECTED] sambaconf]# ./smbadduser testuser
Here we go!

Enter the [Login name] for new samba user : testuser

Enter the [Real name] for the new samba user []: tes
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid
credentials)
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
(unknown) (Invalid credentials)fetch_ldap_pw: neither ldap secret
retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid
credentials)
Failed to add entry for user testuser.
Failed to modify password entry for user testuser
[EMAIL PROTECTED] sambaconf]

and here my smb.conf ( please chek it if i wrong )

[global]
netbios name = pim
workgroup = pim-net
log level = 2
log file = /usr/local/samba/var/sambapdc.log
security = share
invalid users = root
interfaces = 172.18.20.0/32
security = user
server string = %h server (PDC %v)
syslog only = no

socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNBUF=4096 SO_RCVBUF=4096
encrypt passwords = yes

#NT Domain Section
wins support = yes
os level = 20
domain master = yes
local master = yes
preferred master = yes
domain logons = yes

#Scripts Logon
logon script = logon.bat
# Where the scripts resides.
logon path = \\%L\netlogon
# Where the profiles are
logon home = \\%L\%U\profiles
name resolve order = lmhosts host wins bcast
dns proxy = no
smb passwd file = /usr/local/samba/private/smbpasswd

# How long do you want the samba log file to be?
max log size = 2000
time server = yes

[netlogon]
path = /home/samba/netlogon
public = no
writeable = no
browsable = no

[profiles]
path = /home/samba/profiles
read only = no
create mask = 0600
directory mask = 0700
[homes]
comment = %u
browsable = no
read only = no
create mask = 0700
directory mask = 0700
[pub]
comment = Public
path = /home/samba/pub
public = yes
browsable = yes
guest ok = yes
read only = no
[tmp]
comment = Temp
path = /home/samba/tmp
public = yes
browsable = yes
guest ok = yes
read only = no


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


[Samba] how set samba use mysql

2003-09-25 Thread sonjaya
i see source that samba 3.0 support mysql , how to make it happen i have
been complie with mysql support but how use make plugin i try like this :
[EMAIL PROTECTED] pdb]# make
libtool gcc  -I../../source -I../../source/include -I../../source/ubiqx
-I../../source/smbwrapper -Wall -g -c pdb_test.c
mkdir .libs
gcc -I../../source -I../../source/include -I../../source/ubiqx
-I../../source/smbwrapper -Wall -g -c pdb_test.c  -fPIC -DPIC -o
.libs/pdb_test.lo
In file included from pdb_test.c:21:
../../source/include/includes.h:896:19: proto.h: No such file or directory
pdb_test.c: In function `testsam_init':
pdb_test.c:111: warning: implicit declaration of function `make_pdb_methods'
pdb_test.c:111: incompatible types in assignment
pdb_test.c:129: warning: implicit declaration of function `debug_add_class'
pdb_test.c: In function `init_module':
pdb_test.c:145: warning: implicit declaration of function
`smb_register_passdb'
make: *** [pdb_test.lo] Error 1
[EMAIL PROTECTED] pdb]#


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


Re: [Samba] how set samba use mysql

2003-09-25 Thread sonjaya
where i can't download ?

 Hi,


 Try compiling pdb_mysql from source/, not from examples/.

 Jelmer

 On Thu, Sep 25, 2003 at 05:33:49PM -0700, [EMAIL PROTECTED] wrote
 about '[Samba] how set samba use mysql':
 i see source that samba 3.0 support mysql , how to make it happen i have
 been complie with mysql support but how use make plugin i try like this
 :
 [EMAIL PROTECTED] pdb]# make
 libtool gcc  -I../../source -I../../source/include -I../../source/ubiqx
 -I../../source/smbwrapper -Wall -g -c pdb_test.c
 mkdir .libs
 gcc -I../../source -I../../source/include -I../../source/ubiqx
 -I../../source/smbwrapper -Wall -g -c pdb_test.c  -fPIC -DPIC -o
 .libs/pdb_test.lo
 In file included from pdb_test.c:21:
 ../../source/include/includes.h:896:19: proto.h: No such file or
 directory
 pdb_test.c: In function `testsam_init':
 pdb_test.c:111: warning: implicit declaration of function
 `make_pdb_methods'
 pdb_test.c:111: incompatible types in assignment
 pdb_test.c:129: warning: implicit declaration of function
 `debug_add_class'
 pdb_test.c: In function `init_module':
 pdb_test.c:145: warning: implicit declaration of function
 `smb_register_passdb'
 make: *** [pdb_test.lo] Error 1
 [EMAIL PROTECTED] pdb]#


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

 --
 Jelmer Vernooij [EMAIL PROTECTED] - http://jelmer.vernstok.nl/


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


[Samba] samba auth

2003-09-24 Thread sonjaya
dear milist
how to set samba be authentic user , so every user i add in one server ,
and every linux ws authentic to that server so every user can login to net
and machine without add user  in linux ws ( like winnt pdc )i se
configuration in authconfig that have authentic by samba , how configure
it .

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


[Samba] configure samba

2003-09-24 Thread sonjaya
i try installed smab 3.0 beta
i configure like this :
 ./configure --prefix=/usr/local/samba --with-winbind
--with-winbind-auth-challenge --with-python --with-acl-support
--with-libsmbclient --with-quotas --with-syslog --with-nisplus-home
--with-ldapsam --with-pam_smbpass   --with-smbmount --with-automount
--with-mysql-prefix=/usr/local/mysql --with-ldap --with-ads
--with-smbwrapper --with-krb5=/usr/kerberos

then i try to make :
and get error like this :

Linking bin/smbd
/usr/local/lib/libkrb5.a(cc_file.o)(.text+0x1a5f): In function
`krb5_fcc_generate_new':
/usr/local/src/kerbe/krb5-1.3.1/src/lib/krb5/ccache/cc_file.c:2063: the
use of `mktemp' is dangerous, better use `mkstemp'
/usr/local/lib/libgssapi_krb5.a(util_crypt.o)(.text+0x250): In function
`kg_arcfour_docrypt':
/usr/local/src/kerbe/krb5-1.3.1/src/lib/gssapi/krb5/util_crypt.c:202:
undefined reference to `krb5int_accessor'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

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


[Samba] mount

2003-09-08 Thread sonjaya
how tou automatic mount file server , so every boot automatic mounting .
here detail :
1.file server ( 172.18.1.10 ) sharring path = home so : //172.18.1.10/home
  login with PDC authentic ( running in winNT PDC )
2.linux workstation and have smb installed ( mandrake 9.1 or redhat 9.0 )
  mount to /mnt/filesharing
3.i want mount with linux ws every boot with one login ( exs: datasharing
pass:data ) .
i try with this :
[EMAIL PROTECTED] samba]# smbclient //172.18.1.10/home/ -U datasharing
added interface ip=172.18.18.14 bcast=172.18.255.255 nmask=255.255.0.0
session request to 172.18.13.111 failed (Called name not present)
session request to 172 failed (Called name not present)
Password:
Domain=[UB-NET] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME


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


[Samba] mount automaticly with samba for file server in ms machine

2003-09-02 Thread sonjaya
i want automatic mount file server in microsoft machine here is detail :
file server microsoft : 172.18.13.111
name share   : Home
file server microsoft join to winnt pdc ( i have create user , exsample
=shareduser )
linux ws  wan to automatic mount that file server  ( 172.18 .13.111/home)
with user shareduser .
i try like this :
[EMAIL PROTECTED] root]# smbclient //172.18.13.111/home -U sharedusers -P
12345
added interface ip=172.18.18.14 bcast=172.18.255.255 nmask=255.255.0.0
session request to 172.18.13.111 failed (Called name not present)
session request to 172 failed (Called name not present)
Password:
Domain=[UB-NET] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \
, how to set automount every boot , always mount .


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


[Samba] multi domain

2003-08-21 Thread sonjaya
how to set samba to be many domain not just one , and how to set samba
join winnt PDC .
thank's

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


[Samba] samba for bdc

2003-08-20 Thread sonjaya
can i set samba to be BDC for Winnt PDC and what kind manual i must read,
and second how to set join use authentick with samba .
thank's

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


RE: [Samba] Join linux to win Nt pdc

2003-07-14 Thread sonjaya
dear sir
 i have been add win Nt workstation in Win NT PDC here my detail proses
this my smb.conf ( /etc/samba/)
[global]

encrypt passwords = Yes
workgroup = linux-net
security = domain
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[EMAIL PROTECTED] samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section [homes]
Loaded services file OK.
Press enter to see a dump of your service definitions

and i stop smb service and try joinlike this

[EMAIL PROTECTED] samba]# smbpasswd -j linux-net -r 192.168.0.1 -D 2
added interface ip=192.168.0.10 bcast=192.168.0.255 nmask=255.255.255.0
error connecting to 192.168.0.1:445 (Connection refused)
error connecting to 192.168.0.1:445 (Connection refused)
2003/07/15 06:08:05 : change_trust_account_password: Changed password for
domain linux-NET.
Joined domain linux-NET.
[EMAIL PROTECTED] samba]#



 sonjay,

 Try just this part of your command line:

 smbpasswd -j linux-net -r 192.168.0.1

 If I include the administrator info, it fails,
 but this works.  Make sure you've already
 added the machine account to the domain.

 Jim

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 10, 2003 11:30 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Join linux to win Nt pdc


 dear milist

  i'm newbie , i try to join my linux box to win nt pdc , i try follow
 documention in samba.org but still not working

 here the conditional of my server .

 server win nt PDC = 192.168.0.1
 linux workstation = 192.168.0.10( linux mandrake 9.1+ samba )
 in win nt PDc have been add win nt workstation with name
 linux ( linux ws)

 here my samba.conf
 [global]
 netbios name = linux
 server string = linux-inside
 encrypt passwords = Yes
 security = domain
 workgroup = linux-net
 password server = *
 map to guest = Bad User
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 then i try to join with command.
 #smbpasswd -j linux-net -r 192.168.0.1  -D 3 -U Administrator%pass
 Initialising global parameters
 params.c:pm_process() - Processing configuration file
 /etc/samba/smb.conf
 Processing section [global]
 added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
 Connecting to 192.168.0.1 at port 445
 error connecting to 192.168.0.1:445 (Connection refused)
 Connecting to 192.168.0.1 at port 139
 failed session request
 Error connecting to 192.168.0.1
 Unable to join domain linux-net.

 that error log i get , any body can help me , because my
 planing to change
 microsoft workstation with linux and join to win nt pdc , now
 use win nt
 pdc for temperory , later after finish change workstation win
 nt pdc will
 change with samba pdc .
 thank's





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



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


[Samba] Join linux to win Nt pdc

2003-07-11 Thread sonjaya
dear milist

 i'm newbie , i try to join my linux box to win nt pdc , i try follow
documention in samba.org but still not working

here the conditional of my server .

server win nt PDC = 192.168.0.1
linux workstation = 192.168.0.10( linux mandrake 9.1+ samba )
in win nt PDc have been add win nt workstation with name linux ( linux ws)

here my samba.conf
[global]
netbios name = linux
server string = linux-inside
encrypt passwords = Yes
security = domain
workgroup = linux-net
password server = *
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
then i try to join with command.
#smbpasswd -j linux-net -r 192.168.0.1  -D 3 -U Administrator%pass
Initialising global parameters
params.c:pm_process() - Processing configuration file /etc/samba/smb.conf
Processing section [global]
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Connecting to 192.168.0.1 at port 445
error connecting to 192.168.0.1:445 (Connection refused)
Connecting to 192.168.0.1 at port 139
failed session request
Error connecting to 192.168.0.1
Unable to join domain linux-net.

that error log i get , any body can help me , because my planing to change
microsoft workstation with linux and join to win nt pdc , now use win nt
pdc for temperory , later after finish change workstation win nt pdc will
change with samba pdc .
thank's





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


[Samba] how to configure samba join to win Nt PDC

2003-07-11 Thread sonjaya
dear milist

  i try join to my linux box to win Nt PDC , how is configure in samba .
may be step by step , i using mandrake 9.1  with smaba include .
thank's


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