[Samba] samba RPMS?

2004-03-29 Thread Yeri Swamy
Hi

I have Redhat 9. To download latest samba  i went to the following site:-

http://us4.samba.org/samba/ftp/Binary_Packages/RedHat/RPMS/i386/9.0/

i can see only one samba RPM
what about samba-common  samba-client?
Are these 2 built into samba or we have to do build this
As i know earlier we used to have 3 RPMS

1.Samba-common
2 Samba
3.Samba-client
with Best Regards
ys
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Can domain logon requests handled by Samba Configured as a Member Server.

2003-12-29 Thread Yeri Swamy
Hi

Windows NT as Backup domain controller can participate in the logon 
process. When a user logs on to a domain, the logon request can be 
handled by any primary or backup domain controller. This spreads the 
logon processing load across the available servers.

Can this be done when we configure Samba as just a Member Server? or 
DoesSamba has to be setup as PDC In order to handle logon requests?

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


[Samba] net rpc vampire problems

2003-12-15 Thread Yeri Swamy
Looks like you don;t have group maps done

So execute followinf script for group mapping then do vampire...

#!/bin/bash
 Keep this as a shell script for future re-use


# First assign well known groups
net groupmap modify ntgroup=Account Operators unixgroup=root
net groupmap modify ntgroup=Administrators unixgroup=root
net groupmap modify ntgroup=Backup Operators unixgroup=bin
net groupmap modify ntgroup=Domain Admins unixgroup=ntadmins
net groupmap modify ntgroup=Domain Guests unixgroup=nobody
net groupmap modify ntgroup=Domain Users unixgroup=users
net groupmap modify ntgroup=Guests unixgroup=nobody
net groupmap modify ntgroup=Power Users unixgroup=sys
net groupmap modify ntgroup=Print Operators unixgroup=lp
net groupmap modify ntgroup=Replicators unixgroup=daemon
net groupmap modify ntgroup=System Operators unixgroup=sys
net groupmap modify ntgroup=Users unixgroup=users
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Fwd: Re: [Samba] NT4 migration]

2003-07-23 Thread Yeri Swamy

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

[Samba] NT4 migration

2003-07-17 Thread Yeri Swamy
Hi

I am using samba-3.0.0beta3-1.i386.rpm on RedHat 9...
trying to migrate from NT4 PDC to Samba PDC...
reading the HOW-TO document at step 6 whioch is net rpc vampire...
Unsuccessfull...
when i do
#net rpc vampire -S NTSERVER -U Administrator%password
All NT users are created in /etc/passwd file and also home directories 
created without any problem..but only few user entries are created in 
smbpasswd file!!!. i see following error messages for which user entries 
are not created in smbpasswd file...

Treat user1 as a user name for which entry in smbpasswd is not 
created..but i can see user1 in /etc/passwd and also directory is 
created under /home/user1

Creating account: user1
[2003/07/17 13:29:01, 0] passdb/pdb_smbpasswd.c:build_smb_pass(1129)
  build_sam_pass: Failing attempt to store user with non-uid based user 
RID.
[2003/07/17 13:29:01, 1] utils/net_rpc_samsync.c:fetch_account_info(467)
  SAM Account for user1 failed to be added to the passdb!



This above error eventually means the user entries which are not created 
in smbpasswd file cannot log in to Samba PDC

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


[Samba] [homes] share not available for this user....

2003-06-26 Thread Yeri Swamy
Hi All

I have setup Samba-3.0-beta as PDC for Windows Network..
Users can login from client computers to Samba Server..everything fine.
Actually i used migration process from NT to Samba using latest HOWTO 
document..

After login users cann not access their home directories though home 
directories owner and group is same as user login name respectively..i 
saw this error in the log file on Samba Server

[homes] share not available for this user because it was not found or 
created at session setup time

i have attached my smb.conf file

Anybody Help!

with Best Regards
YS
[global]
 dos charset = ASCII
 display charset = UTF8
 workgroup = ITERNAL
 map to guest = Bad User
 passdb backend = tdbsam, guest
 passwd program = /usr/bin/passwd %u
 username map = /etc/samba/smbusers
 encrypt passwords = Yes
 security = user
 unix password sync = Yes
 log level = 2
 log file = /var/log/samba/%m
 time server = Yes
 keepalive = 255
 socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192
 load printers = No
 printcap name = cups
 add user script = /usr/sbin/useradd -m %u
 delete user script = /usr/sbin/userdel -r %u
 add group script = /usr/sbin/groupadd -r %g
 delete group script = /usr/sbin/groupdel %g
 add user to group script = /usr/bin/gpasswd -a %u %g
 delete user from group script = /usr/bin/gpasswd -d %u %g
 set primary group script = /usr/sbin/usermod -g '%g' '%u'
 #create a group machines first !
 add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s 
/bin/false %u
 logon drive = z
 domain logons = Yes
 os level = 255
 preferred master = Yes
 domain master = Yes
 wins proxy = Yes
 wins support = Yes
 ldap ssl = no
 host msdfs = Yes
 
[homes]
 comment = Home Directories
 read only = No
 create mask = 0640
 directory mask = 0750
 browseable = No
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] initGrps.sh?

2003-06-24 Thread Yeri Swamy
Hi

From NT4 to Samba mimigration the HOWTO documents says do

#initGrps.sh DOMIANNAME

but where is initGrps.sh?? i am unable to locate??

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


[Samba] Samba PDC???

2003-06-20 Thread Yeri Swamy
Hi All

I am migrating from NT4 to Samba..
I followed the documentation in Samba-HOTO-Collection.pdf
i am fine till i do
#net rpc join -S NT4PDC -w WORKGROUP -U Administrator%password
[2003/06/20] 14:54:03, ] utils/net_rpc.c:run_rpc_command(154)
rpc command function failed! (NT_STATUS_ACCESS_DENIED)
Joined domain WORKGROUP
After this when i do
#net rpc vampire -S NT4PDC -w WORKGROUP -U Administrator%password
i have attched the error i got...

Needed any kind of help...Did u do any wrong in smb.conf file or missed 
something???

with Best Regards
YS




[global]
netbios name = POGO
workgroup = ITERNAL
passdb backend = smbpasswd, guest
smbpasswd file = /etc/samba/smbpasswd
os level = 64
preferred master = Yes
domain master = Yes
local master = Yes
security = user
encrypt passwords = Yes
domain logons = Yes
logon path = \\%N\profiles\%u
logon drive = H:
logon home = \\homeserver\%u\winprofile

logon script = logon.cmd

[netlogon]
path = /usr/local/samba/lib/netlogon
read only = Yes
write list = ntadmin

[profiles]
path = /export/smb/ntprofile
read only = No
create mask = 0600
directory mask = 0700

[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_sam_account(1226)
  build_sam_account: smbpasswd database is corrupt!  username Administrator with uid 
500 is not in unix passwd database!
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(581)
  add_smbfilepwd_entry: entry with name Administrator already exists
[2003/06/20 15:01:23, 1] utils/net_rpc_samsync.c:fetch_account_info(452)
  SAM Account for Administrator failed to be added to the passdb!
[2003/06/20 15:01:23, 0] utils/net_rpc_samsync.c:fetch_account_info(472)
  Could not find unix group -1 for user Administrator (group 
SID=S-1-5-21-2005620710-1318861517-1539857752-513)
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_sam_account(1226)
  build_sam_account: smbpasswd database is corrupt!  username Guest with uid 501 is 
not in unix passwd database!
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(581)
  add_smbfilepwd_entry: entry with name Guest already exists
[2003/06/20 15:01:23, 1] utils/net_rpc_samsync.c:fetch_account_info(452)
  SAM Account for Guest failed to be added to the passdb!
[2003/06/20 15:01:23, 0] utils/net_rpc_samsync.c:fetch_account_info(472)
  Could not find unix group -1 for user Guest (group 
SID=S-1-5-21-2005620710-1318861517-1539857752-514)
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_sam_account(1226)
  build_sam_account: smbpasswd database is corrupt!  username ISERVER1$ with uid 1000 
is not in unix passwd database!
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(581)
  add_smbfilepwd_entry: entry with name ISERVER1$ already exists
[2003/06/20 15:01:23, 1] utils/net_rpc_samsync.c:fetch_account_info(452)
  SAM Account for ISERVER1$ failed to be added to the passdb!
[2003/06/20 15:01:23, 0] utils/net_rpc_samsync.c:fetch_account_info(472)
  Could not find unix group -1 for user ISERVER1$ (group 
SID=S-1-5-21-2005620710-1318861517-1539857752-513)
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_sam_account(1226)
  build_sam_account: smbpasswd database is corrupt!  username IUSR_ISERVER1 with uid 
1001 is not in unix passwd database!
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_smb_pass(1160)
  build_sam_pass: Failing attempt to store user with non-uid based user RID. 
[2003/06/20 15:01:23, 1] utils/net_rpc_samsync.c:fetch_account_info(452)
  SAM Account for IUSR_ISERVER1 failed to be added to the passdb!
[2003/06/20 15:01:23, 0] utils/net_rpc_samsync.c:fetch_account_info(472)
  Could not find unix group -1 for user IUSR_ISERVER1 (group 
SID=S-1-5-21-2005620710-1318861517-1539857752-513)
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_sam_account(1226)
  build_sam_account: smbpasswd database is corrupt!  username ITERNAL02$ with uid 1003 
is not in unix passwd database!
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_smb_pass(1160)
  build_sam_pass: Failing attempt to store user with non-uid based user RID. 
[2003/06/20 15:01:23, 1] utils/net_rpc_samsync.c:fetch_account_info(452)
  SAM Account for ITERNAL02$ failed to be added to the passdb!
[2003/06/20 15:01:23, 0] utils/net_rpc_samsync.c:fetch_account_info(472)
  Could not find unix group -1 for user ITERNAL02$ (group 
SID=S-1-5-21-2005620710-1318861517-1539857752-513)
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:build_sam_account(1226)
  build_sam_account: smbpasswd database is corrupt!  username ITERNAL03$ with uid 1004 
is not in unix passwd database!
[2003/06/20 15:01:23, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(581)
  add_smbfilepwd_entry: entry with name ITERNAL03$ already exists
[2003/06/20 15:01:23, 1] utils/net_rpc_samsync.c:fetch_account_info(452)
  SAM Account for ITERNAL03$ failed to be added to the passdb!
[2003/06/20 15:01:23, 0] utils/net_rpc_samsync.c:fetch_account_info(472)
  Could not find unix group -1 for user ITERNAL03$ (group 

[Samba] Help Needed! NT4 to Samba-3.0.0beta1 Migration

2003-06-16 Thread Yeri Swamy
Hi

Will NT4 to Samba migration will migrate NT 4 Logon Scripts to Linux.. i 
mean through net rpc we can get users,groups and passwords data from NT4 
thorugh net rpc commands in the same way will i fetch Logon scripts from 
   NT4???

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


[Samba] samba-3.0alpha24-1.i386.rpm install problem

2003-06-06 Thread Yeri Swamy
Hi

i am trying to install on my Redhat 9 samba-3.0alpha24-1.i386.rpm

[root]# rpm -Uvh /usr/src/samba-3.0alpha24-1.i386.rpm
warning: /usr/src/samba-3.0alpha24-1.i386.rpm: V3 DSA signature: NOKEY, 
key ID 2f87af6f
error: Failed dependencies:
perl(Net::LDAP::LDIF) is needed by samba-3.0alpha24-1

where can i find rpm for perl(Net::LDAP::LDIF)???

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


[Samba] NT4 to Samba Migration

2003-06-06 Thread Yeri Swamy
I dowloaded from samba.org samba-3.0alpha24..
I refered http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf 
chapter 31

it also mentioned in the how chapter 31 that it is a rough explanation
but i decided to follow this and started doing things as i explaned below
i looked google and samba mailing lists i did'nt see anything related to 
my problem anywhere

Trying to Migrate from NT4 to Samba but i am unsuccessful in doing that
Either no where it is mentioned what smb.conf parameters to be set..
I started doing this by refering to the above chapter 31

1)Created the BDC account in NT using Server Manager
 According to Howto i have not started Samba
2)
  #rpcclient NT4PDC -U Administrator%password
  rpcclientlsaquery
  domain WORKGROUP has sid S-1-5-21-2005620710-1318861517-1539857752
  rpcclient
3)
  #net getsid -S NT4PDC -w WORKGROUP -U Administrator%password
   i get the error getsid not found???
  but i contnued to next step
4)
   #net getlocalsid
   [2003/06/05 13:48:08, 0] utils/net.c:net_getlocalsid(388)
   Can't fetch domain SID for name: PRUTHVI
   i contnued :-( ...by setting local SID to above SID i got using
#net setlocalsid S-1-5-21-2005620710-1318861517-1539857752
5)
 #net rpc join -S NT4PDC -w WORKGROUP -U Administrator%password
  Joined domain ITERNAL.
In the howto chapter 31 it is not mentioned whether we have to start 
winbindd?? or not???

Anyway i decided to start winbindd

#/etc/init.d/winbind start
Starting Winbind services:  [OK]
and contnued..
#wbinfo -t
checking the trust secret via RPC calls succeeded
6)
#net rpc vampire -S NT4PDC -UAdministrator%password
it printed lot of output on the screen
In that it says it has created users groups of NT
7)
 #pdbedit -L
 idmap uid range defined, non unix accounts enabled
 idmap uid range defined, non unix accounts enabled
build_sam_account: smbpasswd database is corrupt!  username 
Administrator with uid 2147483398 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username Guest with 
uid 99 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username NT4PDC$ with 
uid 0 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username WORKGROUP03$ 
with uid
2 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username WORKGROUP04 
with uid 4 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username WORKGROUP10$ 
with uid
6 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username user1$ with 
uid 7
is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username user1 with 
uid 10

 i really don;t know what this means it is error/success
 According to howto now users are migrated
i have not started samba Yet...
i belive at this point users are not migrated
i don;t want to continue further according to howto.. till i am clear up 
until now everything is fine.

Do i have to start samba now??? so that it will start working or what do 
i have to do now??? what i am missing???

Can any one please help me in this

If you want any further info let me know

with best Regards
YS


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


[Samba] Samba LDAP Primary Domain Controller

2003-06-05 Thread Yeri Swamy
I am trying to setup my Linux box to replace WIN-NT PDC and also i want 
to configure this Linux box to use LDAP authentication

I am using Mandrake 9.1 installed all the following RPMS required for 
LDAP  SAMBA

libldap2-2.0.27-4mdk
libldap2-devel-2.0.27-5.3mdk.i586.rpm
libldap2-devel-static-2.0.27-5.3mdk.i586.rpm
libltdl3-1.4.3-1mdk.i586.rpm
libunixODBC2-2.2.4-1mdk.i586.rpm
nss_ldap-204-1.1mdk.i586.rpm
openldap-2.0.27-5.3mdk.i586.rpm
openldap-2.0.27-5.3mdk.src.rpm
openldap-back_dnssrv-2.0.27-5.3mdk.i586.rpm
openldap-back_ldap-2.0.27-5.3mdk.i586.rpm
openldap-back_passwd-2.0.27-5.3mdk.i586.rpm
openldap-back_sql-2.0.27-5.3mdk.i586.rpm
openldap-clients-2.0.27-5.3mdk.i586.rpm
openldap-guide-2.0.27-5.3mdk.i586.rpm
openldap-migration-2.0.27-5.3mdk.i586.rpm
openldap-servers-2.0.27-5.3mdk.i586.rpm
pam_ldap-161-1.1mdk.i586.rpm
nss_wins-2.2.8a-2mdk.i586.rpm
samba-client-2.2.8a-2mdk.i586.rpm
samba-common-ldap-2.2.8a-2mdk.i586.rpm
samba-doc-2.2.8a-2mdk.i586.rpm
samba-server-ldap-2.2.8a-2mdk.i586.rpm
samba-swat-ldap-2.2.8a-2mdk.i586.rpm
samba-vscan-fprot-2.2.8a-2mdk.i586.rpm
samba-vscan-openantivirus-2.2.8a-2mdk.i586.rpm
samba-vscan-sophos-2.2.8a-2mdk.i586.rpm
samba-vscan-trend-2.2.8a-2mdk.i586.rpm
samba-winbind-ldap-2.2.8a-2mdk.i586.rpm
I have attached slapd.conf, smb.conf, smbldap_cont.pm files

#[root]#chown -R ldap /var/lib/ldap

When i start
#[root]#ldap server /etc/init.d/ldap start (i see the output as follows)
Starting slapd (ldap + ldaps):  [  OK  ]
Starting slurpd:[  OK  ]
i have attached ComputersOU.ldif

#[root]#ldapadd -x -D cn=root,dc=mylan,dc=net -W -f ComputersOU.ldif
Enter LDAP Password:( i entered the password secret here)
then after this it gives output like this
adding new entry ou=Computers,dc=mylan,dc=net
ldap_add: No such object
additional info: parent does not exist
ldif_record() = 32



Could anyone please tell me where i have gone wrong??

with Best Regards
YS

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6 2001/04/20 23:32:43 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
# Modified by Christian Zoffoli [EMAIL PROTECTED]
# Version 0.2
#

include /usr/share/openldap/schema/core.schema
include /usr/share/openldap/schema/cosine.schema
include /usr/share/openldap/schema/corba.schema 
include /usr/share/openldap/schema/inetorgperson.schema
include /usr/share/openldap/schema/java.schema 
include /usr/share/openldap/schema/krb5-kdc.schema
include /usr/share/openldap/schema/kerberosobject.schema
include /usr/share/openldap/schema/misc.schema
include /usr/share/openldap/schema/nis.schema
include /usr/share/openldap/schema/openldap.schema 

#include /usr/share/openldap/schema/rfc822-MailMember.schema
#include /usr/share/openldap/schema/pilot.schema
#include /usr/share/openldap/schema/autofs.schema
include /usr/share/openldap/schema/samba.schema
#include /usr/share/openldap/schema/qmail.schema
#include /usr/share/openldap/schema/mull.schema
#include /usr/share/openldap/schema/netscape-profile.schema
#include /usr/share/openldap/schema/trust.schema
#include /usr/share/openldap/schema/dns.schema
#include /usr/share/openldap/schema/cron.schema

include /etc/openldap/schema/local.schema


# Define global ACLs to disable default read access.
include /etc/openldap/slapd.access.conf


# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral   ldap://root.openldap.org

pidfile /var/run/ldap/slapd.pid
argsfile/var/run/ldap/slapd.args

modulepath  /usr/lib/openldap
#moduleload  back_dnssrv.la
#moduleload  back_ldap.la
#moduleload  back_passwd.la
#moduleload  back_sql.la

# SASL config
#sasl-host ldap.example.com

# To allow TLS-enabled connections, create /usr/share/ssl/certs/slapd.pem
# and uncomment the following lines.
#TLSRandFile/dev/random
#TLSCipherSuite HIGH:MEDIUM:+SSLv2
TLSCertificateFile  /etc/ssl/openldap/ldap.pem
TLSCertificateKeyFile   /etc/ssl/openldap/ldap.pem
#TLSCACertificatePath   /etc/ssl/openldap/
TLSCACertificateFile/etc/ssl/openldap/ldap.pem
#TLSVerifyClient 0


###
# ldbm database definitions
###

databaseldbm
suffix  dc=mylan,dc=net 
rootdn  cn=root,dc=mylan,dc=net 

# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpwsecret
# rootpw{crypt}ijFYNcSNctBYg
rootpw  {SSHA}sTwe4ljfNbEuZe6GmBi6/lPZWQACCfBi

# The database directory MUST exist prior to running slapd AND 
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory   /var/lib/ldap

# 

[Samba] WINT-NT is working as PDC and Redhat Linux Samba BDC andhow to use rsync?

2003-05-29 Thread Yeri Swamy
Can anybody give me a hint how to set up Samba BDC(RedHat 9.0) with 
rsync-ing WIN-NT PDC so that if WIN-NT PDC is down all the clients can 
still get Authentication service from Samba BDC(RedHat 9.0). i have seen 
in Samba documentation that it can be done using rsync but nowhwere it 
is clearly explained howto do it.. I ran out of gas by looking through 
google also... :-(

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