Re: [Samba] sambaPwdMustChange

2011-12-18 Thread yudi shiddiq
Hello all, need your advice please.



 From: yudi shiddiq yudi.shid...@yahoo.com
To: samba@lists.samba.org samba@lists.samba.org 
Sent: Monday, December 12, 2011 8:50 AM
Subject: [Samba] sambaPwdMustChange
 
Hallo all,

I want to ask something about implementing sambapwdmustchange, my goal is to 
force user to change password, then i setting on pla(phpldapadmin) on 
sambaPwdMustChange to 0, but there's no affect to user, what's the problem 
occure?

Thank you very much for any response.

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


[Samba] sambaPwdMustChange

2011-12-11 Thread yudi shiddiq
Hallo all,

I want to ask something about implementing sambapwdmustchange, my goal is to 
force user to change password, then i setting on pla(phpldapadmin) on 
sambaPwdMustChange to 0, but there's no affect to user, what's the problem 
occure?

Thank you very much for any response.

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


[Samba] Windows8

2011-11-01 Thread yudi shiddiq
Hi all,

Is there anybody have tried to join windows8 to samba-3.5.4?

I have try, but failed RPC Server is Unavailable.

Help me please!!!

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


[Samba] Access Samba share very slow

2011-10-10 Thread yudi shiddiq
Hai all, need help please,

I have samba server with version samba-3.2.6-1, authenticate to samba PDC.
I have spent 1 week to find the problem, all users which access to samba server 
move very..very slow, 
i have try to change SO_RCVBUF from 8192 to 4096 but there's no effect at all, 
so i turned it back to 8192, try to edit smb.conf for loging to just 
rename,unlink,rmdir,pwrite and open. but there's no effect too. 

When i try to save file *.ods file with size 71Kb it takes about 40second, and 
on top command the CPU usage is consume resource almost 100%:
Cpu0  :  2.7% us, 97.3% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
Cpu1  :  0.0% us,  0.7% sy,  0.0% ni, 99.3% id,  0.0% wa,  0.0% hi,  0.0% si
Cpu2  :  0.0% us,  0.3% sy,  0.0% ni, 97.0% id,  2.6% wa,  0.0% hi,  0.0% si
Cpu3  :  4.3% us,  3.7% sy,  0.0% ni, 92.0% id,  0.0% wa,  0.0% hi,  0.0% si

This is my smb.conf

[global]
        netbios name = sambaserver3
        os level = 20
        preferred master = no
        security = user
        workgroup = SERVER
        hosts allow = 10.10.0.0/255.255.0.0
        encrypt passwords = yes
        ldap passwd sync = yes
        passdb backend = ldapsam:ldap://10.10.0.100
        lanman auth = yes
        smb ports = 139 445

        dos filemode = yes
        getwd cache = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        unix extensions = no
        wide links = yes
        wins support = no

        ##
        # Defining logging facility      #
        ##
        log file = /var/log/samba/%m.log
        log level = 1 vfs:0

        ### These enable symlinks ###
        # follow symlinks = yes

        ##
        # OpenLDAP stuff is defined here #
        ##

        ldap ssl = no
        ldap suffix = dc=sambaserver,dc=id
        ldap admin dn = cn=Manager,dc=sambaserver,dc=id
        ldap user suffix = ou=Users
        ldap machine suffix = ou=Computers
        ldap group suffix = ou=Groups
        ldap idmap suffix = ou=Users
idmap uid = 1-2
idmap gid = 1-2

template shell = /bin/false
winbind use default domain = no

        ### Autodesk/Autocad things ###
        csc policy = disable
        force security mode = 777
        nt acl support = no


[sys]
        path = (path share)
        comment = sambaserver
        level2 oplocks = no
        oplocks = no
        browseable = yes
        read only = no
        writable = yes
        create mode = 0775
        directory mode = 0777
        vfs objects = full_audit
        veto files = /*.mp3/*.MP3
        full_audit:failure = none
        full_audit:success = mkdir rename unlink rmdir pwrite write open
        full_audit:prefix = %u|%I|%m
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] samba domain

2011-06-25 Thread yudi shiddiq
Need help!!! 

I have samba domain controller with samba-3.5.4-4.1.i586 
and openldap2-2.4.21-9.1.i586, when trial everything OK, client xp, win7, and 
vista can login, join domain, and access other server using auth to ldap, but 
now without any changes my client failed to join domain(xp and win7) and cannot 
change password via Ctrl+Alt+Del(message=the system cannot change your 
password 
now because the domain is not available ), but i still can access other 
server(need auth from ldap).

anybody can help please???

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


[Samba] Win ME couln't login

2011-05-15 Thread yudi shiddiq
I have made samba PDC and tested with client win 7, win xp, and win vista 
successfully but fail with win millenium edition, the message shows that the 
password is incorect or access to the server has been denied.

Installed s/w :
- openldap2-2.4.21-9.1.i586
- openldap2-client-2.4.21-9.1.i586
- samba-3.5.4-4.1.i586

Please give me a clue, because we still have client with OS Win ME
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] qmail schema

2011-03-24 Thread yudi shiddiq
Hallo all,

I need help right now, i've installed samba PDC and i think it work's, i can 
add 
and remove users and groups.
I need to include qmail.schema on my slapd.conf, so i have copied qmail.schema 
file on /etc/openldap/schema/ but when i restart ldap service always failed, 
this is the error message on /var/log/message : 

Mar 24 16:18:52 x slapd[2144]: slapd shutdown: waiting for 0 
operations/tasks to finish
Mar 24 16:18:52 x slapd[2144]: slapd stopped.
Mar 24 16:18:55 x slapd[3982]: @(#) $OpenLDAP: slapd 2.4.21 (Jul  5 2010 
13:34:44) 
$#012#011abuild@build24:/usr/src/packages/BUILD/openldap-2.4.21/servers/slapd
Mar 24 16:18:55 x slapd[3982]: /etc/openldap/schema/qmail.schema: line 19: 
unknown directive # outside backend info and database definitions.
Mar 24 16:18:55 x slapd[3982]: slapd stopped.
Mar 24 16:18:55 x slapd[3982]: connections_destroy: nothing to destroy.

This is installed on my server :
- openSUSE 11.3
- samba-3.5.4-4.1.i586
- openldap2-2.4.21-9.1.i586

This is my slapd.conf :

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/samba3.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/phpQLAdmin.schema
include /etc/openldap/schema/qmail.schema

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

# Load dynamic backend modules:
modulepath  /usr/lib/openldap/modules
# moduleloadback_bdb.la
# moduleloadback_hdb.la
# moduleloadback_ldap.la

access to *
   by * read

###
# BDB database definitions
###

databasebdb
suffix  dc=x,dc=xxx
checkpoint  10245
cachesize   4
rootdn  cn=Manager,dc=x,dc=xxx
rootpw  x
directory   /var/lib/ldap
index   objectClass eq
index   cn,sn,uid   pres,sub,eq
#index   mail,accountStatus  eq
#index   mailHost,mailMessageStore   sub,eq
#index   mailQuotaSize   eq
index   userPasswordeq
index   uidNumber   eq
index   gidNumber   eq
index   memberUid   eq
index   givenname   eq
index   sambaSIDeq
index   sambaPrimaryGroupSIDeq
index   sambaDomainName eq
index   default sub

Please give a suggest for this problem.

Thx,
Dee dee


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


Re: [Samba] qmail schema

2011-03-24 Thread yudi shiddiq
Thx for your reply

This is my qmail.schema :
 #
 # qmail-ldap (20030901) ldapv3 directory schema
 #
 # The offical qmail-ldap OID assigned by IANA is 7914
 #
 # Created by: David E. Storey d...@tamos.net
 # Modified and included into qmail-ldap by Andre Oppermann o...@nrg4u.com
 # Schema fixes by Mike Jackson m...@pp.fi
 # Schema fixes by Christian Zoffoli (XMerlin) czoff...@xmerlin.org
 #
 #
 # This schema depends on:
 # - core.schema
 # - cosine.schema
 # Attribute Type DefinitionsLine 15
# attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'qmailUID'
# DESC 'UID of the user on the mailsystem'
# EQUALITY integerMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )line 19

I have give mark # on line 19 but when i restart ldap the error show me 
another line, until line 15 that has marked(#), any other clue please?

Or anybody can tell me step by step to use qmail.schema on samba PDC? because 
i'm just copy qmail.schema to /etc/openlda/schema/ and edit slapd.conf to 
include qmail.schema that's it

Thx,
Dee dee







From: t...@tms3.com t...@tms3.com
To: yudi shiddiq yudi.shid...@yahoo.com
Cc: samba@lists.samba.org
Sent: Thu, March 24, 2011 7:43:04 PM
Subject: Re: [Samba] qmail schema

 


Hallo all,

I need help right now, i've installed samba PDC and i think it work's, i can 
add 

and remove users and groups.
I need to include qmail.schema on my slapd.conf, so i have copied qmail.schema 
file on /etc/openldap/schema/ but when i restart ldap service always failed, 
this is the error message on /var/log/message : 

Mar 24 16:18:52 x slapd[2144]: slapd shutdown: waiting for 0 
operations/tasks to finish
Mar 24 16:18:52 x slapd[2144]: slapd stopped.
Mar 24 16:18:55 x slapd[3982]: @(#) $OpenLDAP: slapd 2.4.21 (Jul  5 2010 
13:34:44) 
$#012#011abuild@build24:/usr/src/packages/BUILD/openldap-2.4.21/servers/slapd
Mar 24 16:18:55 x slapd[3982]: /etc/openldap/schema/qmail.schema: line 19: 

You have a problem with your db def's at line 19 in qmail.schema. That's where 
you need to look.  



unknown directive # outside backend info and database definitions.
Mar 24 16:18:55 x slapd[3982]: slapd stopped.
Mar 24 16:18:55 x slapd[3982]: connections_destroy: nothing to destroy.

This is installed on my server :
- openSUSE 11.3
- samba-3.5.4-4.1.i586
- openldap2-2.4.21-9.1.i586

This is my slapd.conf :

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/samba3.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/phpQLAdmin.schema
include /etc/openldap/schema/qmail.schema

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

# Load dynamic backend modules:
modulepath  /usr/lib/openldap/modules
# moduleloadback_bdb.la
# moduleloadback_hdb.la
# moduleloadback_ldap.la

access to *
  by * read

###
# BDB database definitions
###

databasebdb
suffix  dc=x,dc=xxx
checkpoint  10245
cachesize   4
rootdn  cn=Manager,dc=x,dc=xxx
rootpw  x
directory   /var/lib/ldap
index   objectClass eq
index   cn,sn,uid   pres,sub,eq
#index   mail,accountStatus  eq
#index   mailHost,mailMessageStore   sub,eq
#index   mailQuotaSize   eq
index   userPasswordeq
index   uidNumber   eq
index   gidNumber   eq
index   memberUid   eq
index   givenname   eq
index   sambaSIDeq
index   sambaPrimaryGroupSIDeq
index   sambaDomainName eq
index   default sub

Please give a suggest for this problem.

Thx,
Dee dee


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




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


[Samba] PDC Migration

2010-08-04 Thread yudi shiddiq
Hi all,

I need help,

This time i want to migrate samba PDC(backend ldap) to new machine, new machine 
used different samba version but file configuration is the same, 

i have made new samba pdc succesfully, but i failed to migrate all account from 
old machine to new machine, i have done this step to migrate acc(users and 
workstation) :

- copy folder /var/lib/ldap
- import use command slapadd -c -l slapcat.ldif
- import use command ldapadd -x -D cn=Manager,dc=domain,dc=com -W -f 
/home/my.ldif
but it still fail, cause when i use command getent passwd it shows nothing.

Installed software, 
Old machine :
- samba-3.0.20b-3.3
- openldap2-2.2.27-6
New Machine :
- samba-3.4.3-10.1
- openldap2-2.4.12

Thx,
Yudi


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


Re: [Samba] Working on open office

2010-03-04 Thread yudi shiddiq
- Original Message 

From: smb2...@gmail.com smb2...@gmail.com
To: samba@lists.samba.org
Cc: yudi shiddiq yudi.shid...@yahoo.com
Sent: Tue, March 2, 2010 9:17:35 PM
Subject: Re: [Samba] Working on open office

On 3/2/2010 2:19 AM, yudi shiddiq wrote:
 I have a problem when working using open office(spreadsheet) that placed on 
 samba file server.
 The problem is time to access/modify file from client(windows xp) takes a 
 long time about 40 second.

Which version of OOo?  Does the server seem work ok for other things? Like how 
long does it take to copy a single large file?

 When the problems happen my solution is restart my samba, but of course break 
 the connection to client(general input/output error).

Windows reestablishes connections automatically.  It should recover from the 
restart with no problems.  Unless the windows application actually attempts IO 
while Samba is unavailable, it should not even notice that it was temporarily 
down.

-RW


I'm using OO version 3.0.0, but other client use different version
maybe version 2, and some client use MS Excel 2003 and have the same
problem.
There's no problem to browse file on samba file server.

When copying file in a large size (about 1GB) i think there's no problem.

Is there any clue with this problem?


Thx Shiddiq


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


[Samba] Working on open office

2010-03-01 Thread yudi shiddiq
Hallo all,

I have a problem when working using open office(spreadsheet) that placed on 
samba file server.
The problem is time to access/modify file from client(windows xp) takes a long 
time about 40 second.

When the problems happen my solution is restart my samba, but of course break 
the connection to client(general input/output error).

Is there any issue with this problem? i'm using samba 3.2.6-1.


Thx
Shiddiq



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


[Samba] Windows7 Join PDC

2010-01-18 Thread yudi shiddiq
Hello all,,,

I'm a newbie in linux

I have a problem to join windows7 to PDC, i'm using Open Suse 10.0 as PDC and 
using samba version 3.0.20...

From article that i've read, that i must upgrade samba minimum to version 
3.3.4, there a few thing that i want to ask :

1. I've download the latest samba from www.samba.org, then try to compile using 
tools(checkinstall) to become rpm package but when i install the package i
think it didn't work out because there is some file lost, like smb and 
nmb(on /etc/init.d/) and smbd not installed, can you tell me how to compile 
samba 
source to rpm package 
2. How is the good way to update samba, rpm -Uvh  or i've to delete 
installed package first then install the new one (rpm -ivh), can you help 
me step by  
step to update samba
3. I've tried to repackage an installed package, but when i want to rollback, 
it failed, system said that the signature NOT OK..
4. Is that right that i've to update my samba, or there's another way to solved 
my problem

Ok maybe that's too much and sorry for that, but i really need your help...

Thanx B4 anyway,
Shiddiq



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


[Samba] help - file permission

2009-04-26 Thread yudi shiddiq

Hey all,

I have a case that when 2 client open the same file from file server, the first 
client open it correctly, and the second client when open it there is not show 
warning that file in use.

Is there any way to set when the second client or next client open the file, 
the file should be read only so just the first client which can modify the 
file.

I have set like this on smb.conf 

 level2 oplocks = no
 oplocks = no

is there something miss or wrong, thx any way.





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


[Samba] help - logon script

2009-03-17 Thread yudi shiddiq
Hello everybody...

I need help about logon script, this time i want to change time format from 12 
format to 24 format on pc client.
I'm using samba 3.0.20 on PDC and the client is mostly win xp but we have pc 
with os win ME too.

I change from logon.exe that i put on every user directory which has script 
like this 

REGEDIT4

[HKEY_CURRENT_USER\Control Panel\International]

iTime=1
sTimeFormat=HH:mm:ss  

But when i try to login the time format doesn't change it still in 12 format, 
i've tried many times but still the same. 

Is there any clue...

I'm sorry if there is any mistake on my english.:)

Thx



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


[Samba] module syncprov

2009-03-06 Thread yudi shiddiq

Hello everybody,,

This time i want to replicate PDC to BDC when there's is any changes on PDC, 
here is my conf. on /etc/openldap/slapd.conf


LDAP Server master

moduleload syncprov

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100


LDAP Server mirror

moduleload syncprov

syncrepl rid=001
provider=ldap://ldap.domain.com:389
bindmethod=simple
binddn=cn=admin,dc=domain,dc=com
credentials=password
searchbase=dc=domain,dc=com
schemachecking=off
type=refreshAndPersist
retry=60 +

mirrormode on


when i've configured like above then i restart ldap service the service cannot 
start and when i check on my /usr/lib/openldap/modules i can't find module with 
the name syncprov.

Is there any clue about this...


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


[Samba] samba file server

2009-02-20 Thread yudi shiddiq

Hello everybody,

I'm really need help, i'm using samba server as file server and using 
samba-3.2.6-1 on my file server.

My pc client using win xp pro and win ME, the problem is when we work using 
open office 2 and want to save our modified document sometimes show error 
message general input/output error i have tried to upgrade open office from 
version 2 to version 3 but the error still happen, this problem happen most on 
pc using win ME, and if the error happen i couldn't save anywhere even on my 
local drive, is there any problem on my configuration or bug on samba version 
3.2.6-1

thx b4..

this is my /etc/samba/smb.conf

[global]
netbios name = BETA
os level = 20
preferred master = no
security = user
workgroup = BETA-SERVER
hosts allow = 10.10.0.0/255.255.0.0
encrypt passwords = yes
ldap passwd sync = yes
passdb backend = ldapsam:ldap://10.10.0.10
lanman auth = yes
smb ports = 139

dos filemode = yes
getwd cache = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
unix extensions = no
wide links = yes
wins support = no

##
# Defining logging facility  #
##
log file = /var/log/samba/%m.log
log level = 1 vfs:0
# log level = 4


### These enable symlinks ###
# follow symlinks = yes

##
# OpenLDAP stuff is defined here #
##

ldap ssl = no
ldap suffix = dc=beta,dc=ind
ldap admin dn = cn=Manager,dc=beta,dc=ind
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Users
   idmap uid = 1-2
   idmap gid = 1-2

   template shell = /bin/false
   winbind use default domain = no
### Autodesk/Autocad things ###
csc policy = disable
force security mode = 777
nt acl support = no

[sys]
path = /alpha
comment = beta
#   level2 oplocks = no
#   oplocks = no
browseable = yes
read only = no
create mode = 0775
directory mode = 0777
vfs objects = full_audit
full_audit:failure = none
full_audit:success = mkdir rename unlink rmdir pwrite write open
full_audit:prefix = %u|%I|%m

[data]
path = /data
comment = beta
read only = no
browseable = no





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